Total Blog Views: 52
Blog Status: publish
Created By: swazahmad Created at: 07-21-2021
What is Heroku server and Why that does provide free deployment?
Today We are going learn How to deploy rails Application free In Heroku In the above topic we will cover below points
Create a new Rails application in this directory, replacing sample-heroku-app with whatever you would like to call your app:
rails new sample-heroku-app -d=postgresql
The -d=postgresql
option sets PostgreSQL as the database.
Next step go inside the application directory
cd sample-heroku-app
Configure the database.yml to add password and username for development purpose
Congratulation Now you all completed the first step(You can check rails application locally)
rails s
You need to first register in Heroku application Heroku Signup link
after successful signup, you just need to follow below steps to deploy into Heroku
heroku login -i
email: [email protected]
password: sample234
After successful login you need to run below command one by one
git init
git add .
git commit -m "Intial commit"
git push heroku master
If you want to access your rails application free you just need to run below command to see your application running on Heroku
heroku open
You can see the next blog to customize the domain of Heroku Add customised domain in Heroku part 2
we have the “Get things executed” lifestyle at our place of work. There are not any excuses, no if’s or however’s in our dictionary. committed to navigating the ship of creativity to create cell answers, we resolve the real-lifestyles troubles of our clients and their clients. Our passion for work has won us many awards, year after 12 months.
© Copyright Shadbox. All Rights Reserved
Rate Blog :
Share on :
Do you have any blog suggestion? please click on the link