Skip to content

DD-DeCaF/design-storage

Repository files navigation

Design Storage

master Branch master Build Status master Codecov

devel Branch devel Build Status devel Codecov

Development

Run make setup first when initializing the project for the first time. Type make to see all commands.

Environment

Specify environment variables in a .env file. See docker-compose.yml for the possible variables and their default values.

  • ENVIRONMENT: development, testing, staging or production
  • SECRET_KEY Flask secret key. Will be randomly generated in development and testing environments.
  • SENTRY_DSN DSN for reporting exceptions to Sentry.
  • ALLOWED_ORIGINS: Comma-seperated list of CORS allowed origins.

Updating Python dependencies

To compile a new requirements file and then re-build the service with the new requirements, run:

make pip-compile build