Closed mandrews closed 4 years ago
Great! Can you please remove .env file? If you need to specify additional keys please add them (as an example + descriptions) into Readme.md file in the root. Also, it would be great to add instructions on how to use this functionality. Thanks!
@saasforge no problem!
docker-compose.yaml
and removed the .env
file (0270194)Readme.md
(5fbcbf0)Sounds good to me! The only thing is I don't know if "flask db upgrade" would work or not. I use "flask dbupdate" for this purpose.
@saasforge Thanks for merging!
The flask db update
command in the entrypoint.sh
is meant to initialize the database and/or run the Alembic migrations so that a single command can start the app in an idempotent fashion.
I tried to get similar behavior working with a combination of flask dbcreate
and flask dbupdate
, but I couldn't get it to be idempotent across runs without modifying the commands since flask dbcreate
drops the database.
Ok, no problem as soon as it works :) Thanks for your contribution! :heart: :heart: :heart:
Overview
Allows developers to start the application using
docker-compose up
. Fixes #1.Demo