Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.32 KB

https://github.com/rebkwok/pipsevents/workflows/Run%20tests/badge.svg Coverage Status

Event bookings website for Watermelon Studio

Required settings

  • SECRET_KEY: app secret key
  • DATABASE_URL: database settings
  • EMAIL_HOST_PASSWORD: password for emails sent from the app
  • DEFAULT_PAYPAL_EMAIL: the email address paypal payments made through the app will be sent to
  • LOG_FOLDER: path to folder containing the app's log files
  • SIMPLECRYPT_PASSWORD: password to encrypt/decrypt exported data
  • DEFAULT_PAYPAL_EMAIL: default receiver email for paypal payments

Optional

  • DEBUG (default False)
  • SEND_ALL_STUDIO_EMAILS (default False)
  • AUTO_BOOK_EMAILS (comma separated list of email addresses to auto book if on waiting list; default [])
  • LOCAL (default False)

For dev add the following additional settings to .env

  • DEBUG=True
  • USE_MAILCATCHER=True
  • LOCAL=True
  • PAYPAL_TEST=True
  • SHOW_DEBUG_TOOLBAR=True
  • HEROKU: set to True if using Heroku to use different log settings

Set up local postgres in psql

CREATE ROLE pipsevents WITH CREATEDB LOGIN PASSWORD 'pipsevents'
CREATE DATABASE pipsevents;
ALTER DATABASE pipsevents OWNER TO pipsevents;