Perform the following steps after creating a new service from the cookiecutter.
- Create the following environment variables in Travis CI:
ENVIRONMENT:testingFLASK_APP:src/memote_webservice/wsgi.pySLACK_ACCOUNT: Workspace name, e.g.biosustainSLACK_TOKEN: Find it hereSLACK_CHANNEL: Normally#decaf-notificationsDOCKER_PASSWORD: For push access to Docker Hub
- Remove this section from the README.
Run make setup first when initializing the project for the first time. Type
make to see all commands.
Specify environment variables in a .env file. See docker-compose.yml for the
possible variables and their default values.
- Set
ENVIRONMENTto eitherdevelopment,testing, orproduction.
SECRET_KEYFlask secret key. Will be randomly generated in development and testing environments.SENTRY_DSNDSN for reporting exceptions to Sentry.ALLOWED_ORIGINS: Comma-seperated list of CORS allowed origins.