This is ready to deploy repo for hosting Kegbot on Heroku.
- A Heroku account
- An AWS account and S3 bucket
For those with heroku experience this should be pretty easy.
- Clone this repository
- Create heroku app
heroku create
- Push to heroku
git push heroku master
- Add New Relic for monitoring
heroku addons:add newrelic
- Add MemCachier
heroku addons:add memcachier
- Add database
heroku addons:add heroku-postgresql:dev
- Promote the database
heroku pg:promote HEROKU_POSTGRESQL_CYAN_URL
Note: replace CYAN with the color from the previous command. - Set kegbot config path
heroku config:add KEGBOT_SETTINGS_DIR=/app/
- Set the following config variables for you S3 bucket.
heroku config:add AWS_ACCESS_KEY_ID="XXXXXXXXXXXXXXXXXXXX"
heroku config:add AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
heroku config:add AWS_STORAGE_BUCKET_NAME="bbbbbbbb"
heroku config:add AWS_S3_CUSTOM_DOMAIN="bbbbbbbb.s3.amazonaws.com"
- Initialize database
heroku run kegbot syncdb --all --noinput -v 0
heroku run kegbot migrate --all --fake --noinput -v 0
- Upload static files to S3 bucket
heroku run kegbot collectstatic
- Visit site
heroku open
and finish initial configuration
Please report issues or send a pull request.