Skip to content

Instantly share code, notes, and snippets.

@redhotvengeance
Last active December 18, 2015 07:29
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 redhotvengeance/5746731 to your computer and use it in GitHub Desktop.
Save redhotvengeance/5746731 to your computer and use it in GitHub Desktop.
Deep Thought on Heroku.
.env
.projects

Deep Thought

Heroku-optimized version for thought-free deployment enhancement.

require "deep_thought"
DeepThought.setup(ENV)
run DeepThought.app
source "https://rubygems.org"
gem "deep_thought", "~>0.2"
gem "thin"
web: bundle exec thin start -p $PORT
worker: bundle exec rake jobs:work
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