Skip to content

Instantly share code, notes, and snippets.

@vanakenm
Created February 19, 2015 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanakenm/e45578bcd70f2ecd133a to your computer and use it in GitHub Desktop.
Save vanakenm/e45578bcd70f2ecd133a to your computer and use it in GitHub Desktop.
Deploying to Heroku - Co.Station version
Follow the lecture for the Heroku signup & install. Use the Heroku create & push (git push heroku master).
The next step is supposed to be: heroku run rake db:migrate (we want to migrate our DB on the production server).
This will not work on Co.Station Member network (the one we are using for the internet connection), due to port 5000 being blocked (whole story: https://devcenter.heroku.com/articles/one-off-dynos#troubleshooting)
Workaround: get to another connection. Anyone with a data plan can access Internet using his/her smartphone, and you can then create a small "HotSpot" (a wifi network) out of it. Switch your laptop to that network, run that rake command (which should work), and switch back (to avoid data costs but mostly because the connection is much faster).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment