Heroku is a great tool to deploy your applications to the cloud. Heroku is free for small applications, and scales up very easily. It also removes a lot of the hassles of production configuration and deployment so you can get in there and code.
Replace “appname” in the following examples with the name of your application, or some other mnemonic placeholder.
heroku apps:create appname –stack cedar
git remote add heroku git@heroku.com:appname.git
git push heroku
Done!
git push heroku
, it’ll give you the play-by-play of each step in the deployment process.heroku logs
to see what the errors are if you’re getting 500s when you try to access your application in production. I use heroku logs -f
to watch logged information in real-time as it comes in (hit control-c to stop).⦂∀