Skip to content

Instantly share code, notes, and snippets.

@laurenhavertz
Last active December 19, 2015 23:09
Show Gist options
  • Select an option

  • Save laurenhavertz/6032895 to your computer and use it in GitHub Desktop.

Select an option

Save laurenhavertz/6032895 to your computer and use it in GitHub Desktop.
HEROKU

in the Gemfile (if you have datatables)

group :development do
  gem 'sqlite3'
end

group :productions do
  gem 'pg'
end 

then bundle install without production

git init
git add .
git commit -m "first"

git status (working clean directory)

heroku apps:create 

git push heroku master

heroku run rake db:migrate

heroku open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment