java - How to deploy Spring MVC with Mysql DB on Heroku -
could 1 help deploy web app hosted @ bitbucket or githup heroku project based on spring mvc, hibernate
heroku not straight back upwards mysql can either convert mysql database on postgresql database
https://devcenter.heroku.com/articles/heroku-mysql
or host on different provider.
heroku provides cleardb addon purpose:
https://devcenter.heroku.com/articles/cleardb
or can utilize service amazon rds:
http://aws.amazon.com/rds/
i found converting info postgresql ruby plug in suggest finish pain in butt , wouldn't recommend unless need save bunch of info have. (i had been planning on switching postgresql wasn't huge deal me) if don't have info save , willing create switch still not super easy bit more straight forwards since using hibernate.
if project built maven need pull code bit bucket force heroku, remember add together the "proc" file heroku uses tell should execute 1 time time comes. process described here:
https://devcenter.heroku.com/articles/git
if don't utilize maven can force war file directly:
https://devcenter.heroku.com/articles/war-deployment
as spring, long include relevant packages in maven pom or war, should fine , shouldn't create difference.
java mysql hibernate spring-mvc heroku
No comments:
Post a Comment