heroku


$ heroku open   # opens the browser and go to your heroku webapp

install heroku toolbelt then:
$ gem install heroku

make a new app on heroku called myrottenpotatoesdsr
it will show you

Your app, myrottenpotatoesdsr, has been created.

App URL:
http://myrottenpotatoesdsr.herokuapp.com/
Git URL:
git@heroku.com:myrottenpotatoesdsr.git

Use the following code to set up your app for local development:

git clone git@heroku.com:myrottenpotatoesdsr.git -o heroku

Suggested next steps

$ git remote add heroku git@heroku.com:myrottenpotatoesdsr.git

$ git push heroku master
make sure you keep sqlite3 for production and test only
group :development, :test do

gem 'sqlite3-ruby', :require => 'sqlite3'
end
make sure you have commited all files in git before git push heroku master







Comments