Current progress: docker will run both the docker-compose.dev.yml and docker-compose.prod.yml files correctly on a local virtualbox instance. I've yet to test on AWS but it should also work properly.
Changes made:
postgres password is shared in common .env file
dev docker-compose file will mount the working directory as a volume, so that code changes take place immediately, while the prod docker-compose file is a static build.
config loading in config.py defers to the environment variables instead of having its own parallel hierarchy
It's a bit scary that strings evaluate to True in python... DEBUG = str(os.environ.get('DEBUG')).lower() == "true" to actually set debug correctly...
Next:
deploy to AWS, check that stuff works
start clicking around, try to get email signups to send properly
try hitting the api endpoints manually to upload game results
@amj
Current progress: docker will run both the docker-compose.dev.yml and docker-compose.prod.yml files correctly on a local virtualbox instance. I've yet to test on AWS but it should also work properly.
Changes made:
It's a bit scary that strings evaluate to True in python...
DEBUG = str(os.environ.get('DEBUG')).lower() == "true"
to actually set debug correctly...Next: