lucas42 / lucos_contacts

A contacts list.
0 stars 0 forks source link

Lucos contact list

An app for keeping track of personal contacts

Requirements

Architecture

Has three components:

Running in Production

PRODUCTION=true SECRET_KEY=<secret> nice -19 docker-compose up -d --no-build

Running locally

docker-compose up --build

Running tests

docker run -e SECRET_KEY=test -e CI=true lucas42/lucos_contacts_app ./manage.py test agents.tests comms.tests lucosauth.tests

Database commands

Manually creating a backup

(on machine with docker installed)

Wiping database clean so restore doesn't cause any conflicts

(on machine with docker & docker-compose installed)

Restoring from backup

(on machine with docker & docker-compose installed) Assuming the backup file is available over ssh on another machine, run the following commands:

Environment Variables: