Deploying QuickGit onto Heroku

bencevans edited this page Oct 6, 2012 · 2 revisions
Clone this wiki locally

Caveat

  1. When you push a new release of QuickGit to Heroku it will destroy the current Git Repos with it.
  2. The only file store Heroku provide is a 100MB limited folder called tmp.
  3. You can only run one worker because the repo storage location isn't shared.

Assumptions

  1. You already have a Heroku account setup along with their Toolbelt

Download and Deploy

git clone https://github.com/bencevans/QuickGit.git
heroku apps:create {{YOUR_DESIRED_APP_NAME}}
heroku config:set EXTERNAL_HOST={{YOUR_DESIRED_APP_NAME}}.herokuapp.com EXTERNAL_PORT=80 REPO_PATH=./tmp
git push heroku master
heroku ps:scale web=1
heroku open

Voila.