It is required so you can push code heroku's git server and deploy
# Make sure the keys are available
ssh-add -l
# Add keys to heroku
heroku keys:add
# Create application in heroku, this create add git remote repository
heroku create
# verify it is created successfully
git remote -v
# push code and deploy application to heroku
git push heroku master
- Create file
system.properties
with contentjava.runtime.version=1.7
git add -A . && git commit -m "adding support for jdk 7" && git push heroku master
- Update config
heroku config:add JAVA_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=24.5.224.160:9999 -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -XX:+UseCompressedOops' -a mido-platform-staging
-
Make intellij listen to the port 9999
-
Restart the heroku
heroku restart
heroku ps:scale web=0 -a mido-platform-staging
# then
heroku ps:scale web=1 -a mido-platform-staging
or
heroku restart -a mido-platform-staging