-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prod deployment is not working #315
Comments
You need to configure your "prod" database access in your "prod" configuration file, for example (in the sample application) here: I realize it is not explained clearly in the documentation (it's the usual location, but for people new to Spring Boot this doesn't mean anything):
|
Ok so I got it to deploy. I had to install postgres. However, I'm missing some markup in the production version. It does not include the main view in production but it does in dev. |
The missing markup issue seemed to go away not sure why. Maybe the grunt build was not running properly or I had to do a bower update. |
add support for java.time.Duration
I have similar issues: |
Please don't comment on an old issue. If you have a question please use Stack Overflow, and tag the question with jhipster. This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:
|
I managed to get the dev deployment working ok so I decided to try the prod profile. First I tried this method which failed:
Then I tried building then running java
In both instances the deploy seems to fail to with the same errors that indicate to me that I need to configure the port and hostname, but I don't know where to configure these.
Interestingly enough however, I just was able to deploy to heroku but it displays the "Development" banner in the top left corner.
This is how I deployed to Heroku
The text was updated successfully, but these errors were encountered: