snipt/README.md

1.3 KiB

Snipt

This is the codebase for the website, Snipt.net.

Running the Django app

Install Vagrant and either VirtualBox or VMWare Fusion.

  1. Clone the repo.
  2. cp settings_local.py-template settings_local.py
  3. Edit local settings (choose a database password - you'll be prompted for it).
  4. make vagrant
  5. Visit http://local.snipt.net:8080/.

Deploying to Heroku

  1. Clone the repo.
  2. heroku create
  3. heroku addons:add heroku-postgresql:hobby-dev
  4. heroku addons:add searchbox
  5. heroku config:add AWS_ACCESS_KEY_ID=
  6. heroku config:add AWS_SECRET_ACCESS_KEY=
  7. heroku config:add AWS_STORAGE_BUCKET_NAME=
  8. heroku config:add DEBUG=False
  9. heroku config:add INTERCOM_SECRET_KEY=
  10. heroku config:add POSTMARK_API_KEY=
  11. heroku config:add RAVEN_CONFIG_DSN=
  12. heroku config:add SECRET_KEY=
  13. heroku config:add STRIPE_SECRET_KEY=
  14. heroku config:add USE_SSL=False
  15. git push heroku
  16. heroku run python manage.py syncdb
  17. heroku run python manage.py migrate

Any problems / questions / bugs, create an issue. Thanks! :)