# Requirements ### Minimal versions - python 3.7 - postgresql 12 # Prepare - `mkdir ./previews` - `docker volume create --name=caddy_data` - use current address in martin section of map components # Production - add domain to *Caddyfile* # Run - `docker-compose --file docker/docker-compose.yml up --build -d` # Known restrictions - *models.py*, *schema.py*, and current representation of column headers in `headers` db table (as initialised by alembic migration script) **must** be kept in sync - `SQALCHEMY_DATABASE_URL` in *database.py* and `sqlalchemy.url` in *alembic.ini* **must** be kept in sync - martin requires a restart after the very first data is uploaded into an empty database `docker-compose --file docker/docker-compose.yml restart martin` - *./previews* directory file structure **must** correspond to item *fadr/internal_id* # Known issues - older (not recommended) vesions of Docker might require copying _Dockerfile.*_ into their respective directories and adjusting `dockerfile: ` instructions in *docker/docker-compose.yml*