-
Notifications
You must be signed in to change notification settings - Fork 7
HOWTO: Heroku deployment
Download git from http://git-scm.com/ and install it.
Sign up for Heroku and set it up following this guide: https://devcenter.heroku.com/articles/quickstart.
Terminal.app on OS X, Command prompt on Windows and a myriad of application on Linux
Go to a directory of your choice (inside it we will create a new directory for D&D on Rails).
Run git clone https://vrinek@github.com/vrinek/Dungeons-and-Dragons-on-Rails.git
to download the application a new directory named Dungeons-and-Dragons-on-Rails.
Go to the created directory (cd Dungeons-and-Dragons-on-Rails
).
Run heroku create --stack cedar
to create a new application on Heroku to deploy our code.
Run heroku addons:add mongohq:free
to add MongoDB to your application (this is the database we use).
Run git push heroku master
to deploy the code.
Run heroku open
to open the newly deployed application.