I'm trying to add my application to Heroku. I've created a new project, connected with GitHub/myapp, and deployed it.
It won't run, it says Application Error. What next what should I do I'm green here.
I read something about Procfile and package.json, but do I need them? Please help.
Here is my app on GITHUB
My app is built with maven in Java, it has an H2 database where is some data and has Javascript in index.html
15.09.2022 21:30 Still the same, but I was able to add my app via GIT BASH. Still Application Error. After typing Heroku logs --tail I got:
2022-09-15T19:19:24.000000+00:00 app[api]: Build started by user jumperro@gmail.com
2022-09-15T19:19:58.328793+00:00 app[api]: Deploy a990ae73 by user jumperro@gmail.com
2022-09-15T19:19:58.328793+00:00 app[api]: Release v3 created by user jumperro@gmail.com
2022-09-15T19:20:05.000000+00:00 app[api]: Build succeeded
2022-09-15T19:20:27.154267+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=fast-atoll-74932.herokuapp.com request_id=5bee25c7-61ae-4c52
-90a3-52c75e056c97 fwd="31.11.131.173" dyno= connect= service= status=503 bytes= protocol=https
2022-09-15T19:20:28.049740+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=fast-atoll-74932.herokuapp.com request_id=3cbeda0
f-fda3-466e-b68a-70072971baeb fwd="31.11.131.173" dyno= connect= service= status=503 bytes= protocol=https
Is there a different/simpler way to put my app live?
UPDATE
I managed to run myapp Procfile has too many spaces..., but I have script in my index HTML, and after I fill the form it should change to another...
The thing is myapp is running on Heroku but it stuck with the first form, I can fill it but nothing happens.