Wednesday, August 22, 2012

Deploying your Rails App


#We use Heroku to deploy our rails application - Install heroku gem
gem install 'heroku'

heroku add:keys

#The --stack cedar argument arranges to use the latest and greatest version of Heroku, called the Celadon Cedar Stack. It creates a subdomain for us
heroku create --stack cedar

#Just push/deploy the code using the following git push command as heorku works seamlessly with git
git push heroku master

#That's it, our application is deployed, you can view it using this command.
heroku open

0 comments:

Post a Comment