Heroku-optimized version for thought-free deployment enhancement.
Last active
December 18, 2015 07:29
-
-
Save redhotvengeance/5746731 to your computer and use it in GitHub Desktop.
Deep Thought on Heroku.
This file contains 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
.env | |
.projects |
This file contains 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
require "deep_thought" | |
DeepThought.setup(ENV) | |
run DeepThought.app |
This file contains 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
source "https://rubygems.org" | |
gem "deep_thought", "~>0.2" | |
gem "thin" |
This file contains 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
web: bundle exec thin start -p $PORT | |
worker: bundle exec rake jobs:work |
This file contains 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
require "deep_thought" | |
DeepThought.setup(ENV) | |
require "deep_thought/tasks" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment