Skip to content

Latest commit

 

History

History

backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CMS Backend

Build Status CodeFactor License: GPL v3 codecov Docker

devel usage

pip install -U invoke toml  # only once
invoke install-deps --package dev db-upgrade serve

Constants

  • CORS is configured through $ALLOWED_ORIGINS with localhost fallback (see code)
  • Database is configured through $DATABASE_URL with fallback to sqlite:///dev.db

See constants.py

Guidelines

  • Don't take assigned issues. Comment if those get staled.
  • If your contribution is far from trivial, open an issue to discuss it first.
  • Ensure your code passed black formatting, isort and flake8 (88 chars)

We have a pre-commit hook ready for you. Install it with pip install pre-commit && pre-commit install