Our custom blog
First, configure your environment using .env file
Then, deploy the database container:
docker-compose up -d postgres
Migrate the schema (in project's root folder):
flask db init # First time you migrate app
flask db migrate
flask db upgrade
Leaving the debug variable as True edit your code while this is running:
python app.py
If you want to deploy this blog:
First, configure your environment using .env file either filling secrets in your deployment platform.
Then build the blog image:
docker-compose build --no-cache app
Finally deploy the container:
docker-compose up -d app
- 🐍 Python ~ 3.7.6
- 🐋 Docker
- 🐙 Docker Compose
- 🐘 Dbeaver (recommed to do queries against Postgres)