Created
August 20, 2012 19:38
-
-
Save chrisconley/3407100 to your computer and use it in GitHub Desktop.
Deploying Twitter's Clockwork Raven to Heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rvm use 1.9.3 | |
| git clone git://github.com/chrisconley/clockworkraven.git my-raven | |
| cd my-rave/ | |
| git checkout heroku-demo | |
| heroku create | |
| heroku addons:add redistogo:nano | |
| heroku addons:add cleardb:ignite | |
| heroku config | grep CLEARDB_DATABASE_URL | |
| # copy it and change to mysql2 | |
| heroku config:add DATABASE_URL='mysql2://aaaaaaa:aaaaaaa@us-cdbr-east.cleardb.com/heroku_aaaaaa?reconnect=true' | |
| rake secret | |
| # copy the secret key into the next line | |
| heroku config:add SECRET_TOKEN=3688f877842a0e9324c14ea558268290 | |
| heroku config:add AWS_KEY_ID=[your_key_id] | |
| heroku config:add AWS_KEY=[your_key] | |
| git push heroku heroku-demo:master | |
| heroku scale worker=1 | |
| heroku run rake db:structure:load | |
| heroku run rake users:add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment