/learnatron5000

LEARN SOMETHIN!

Primary LanguageRuby

Setup locally

  • vagrant up

  • vagrant ssh

  • cd /vagrant

  • bundle install –path ~/bundle

  • bundle exec rake db:create db:migrate

  • RAILS_ENV=test bundle exec rake db:create db:migrate

  • bundle exec rspec

  • bundle exec rails s

  • go to localhost:3000 in a browser

Heroku deploy

  • heroku login

  • heroku create

  • git push heroku master

  • heroku run rake db:migrate

  • heroku ps:scale web=1