brew install redis
brew install postgres
We rely on a number of custom heroku config variables
BUILDPACK_URL: https://github.com/heroku/heroku-buildpack-ruby
DATABASE_URL: postgres://…
HEROKU_POSTGRESQL_JADE_URL: postgres://…
THREADABLE_CLEF_ID: …
THREADABLE_CLEF_SECRET: …
THREADABLE_PASSWORD: …
THREADABLE_MAILGUN_KEY: …
THREADABLE_MAILGUN_PASSWORD: …
REDISCLOUD_URL: redis://rediscloud…
We need the latest version of the ruby build pack in order to allow us to have config.assets.initialize_on_precompile
enabled which we need to compile our routes into JavaScript.
To configure your git remotes, run: script/setup_remotes
To push to staging, run: script/deploy
To push to production, run: script/deploy production
gem install proxylocal
proxylocal 3000 --host threadable-dev
Then, point your external thing that needs to make a callback at http://threadable-dev.t.proxylocal.com/