Open Hagellach37 opened 5 years ago
Note on the deployment script and tests:
Running mapswipe_workers tests should only be done in test environment such as dev server or inside CI environment (Tavis). Currently deploy.sh is also used in production evironment. We do not want to let tests scripts interact with production firebase and postgres.
I suggest running tests in CI and manually for production but do not run tests in deploy.sh
need to close this and break up in smaller parts,
postgres and wal-g configuration:
.env
clarify where mapswipe_workers config files are stored on server (not inside docker container):
/usr/share/config/mapswipe_workers/ or
mapwipe_workers/config/` --> will be in mapwipe_workers/config/test_config.py script to test if configuration is complete
nginx and let's encrypt
deploy script
deploy.sh
script