Snipt
Automatic deploy to Heroku
You can click the button below to automatically deploy Snipt to Heroku.
Manual deploy to Heroku
- Clone the repo.
heroku createheroku addons:add heroku-postgresql:hobby-devheroku addons:add searchboxheroku config:add SECRET_KEY=<some-secret-key>git push herokuheroku run python manage.py migrateheroku run python manage.py createsuperuser- Visit yourapp.herokuapp.com and login with the user you just created.
Updating your Heroku instance after an automatic deploy
git clone https://github.com/nicksergeant/sniptcd sniptgit checkout herokuheroku git:remote -a <your-instance-name>git push heroku heroku:master
Options
If you want email support (for password resets, server errors, etc):
heroku addons:create postmark:10kheroku run addons:open postmark-> use an email you control and confirm itheroku config:add POSTMARK_EMAIL=<email_from_above>
If you want to disable user-facing signup:
heroku config:set DISABLE_SIGNUP=true
If you want to enable Django's DEBUG mode:
heroku config:add DEBUG=true
If you want to enable SSL on a custom domain after you've configured your Heroku SSL cert:
heroku config:add USE_SSL=true