Created
September 10, 2014 16:29
-
-
Save tigawa/012b4720eda3885d91b4 to your computer and use it in GitHub Desktop.
heroku woker起動
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
#ProcfileをRoot直下に作成 | |
worker: bundle exec ruby lib/eventmachine/twitter_stream.rb | |
#Herokuへデプロイ | |
heroku create test-app | |
git add -A | |
git commit -m "first commit." | |
git push heroku master | |
#workerプロセス起動 | |
heroku scale web=0 | |
heroku scale worker=1 | |
http://morizyun.github.io/blog/rails4-with-eventmachine/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment