How to publish a Ruby on Rails Project to Heroku
I write this article to show the steps can be used to deploy your rails application into server. For this I am using Heroku.
What is Heroku ?
Heroku is a cloud platform that lets companies build, deliver, monitor and scale apps.
What is Heroku | Heroku
Heroku is a cloud platform as a service (PaaS) that lets companies build, deliver, monitor, and scale apps. Heroku…
Check the above link to see more about this platform.
- Create a Heroku account
Use the following link to sign up
Heroku | Sign up
Sign up for a free Heroku developer account and get started building your apps on Heroku.
2. Login to your account through terminal
3. Create the project on Heroku
heroku create app-name
4. Push the Project to Heroku
git push heroku master
5. Add the database
To add the database please follow the following steps mention in the link
Getting Started on Heroku with Ruby | Heroku Dev Center
A step-by-step guide for deploying your first Ruby app and mastering the basics of Heroku
All Done !
If you want to see all the apps you have created
If you need to delete any app created
heroky apps:destroy [name] --confirm [retype_name]