Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 347 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 347 Bytes
  1. Start Postgres and Redis instances:
sudo docker run -d \
  --name=postgres \
  --restart=unless-stopped \
  -e POSTGRES_PASSWORD= \
  -v postgres-data:/var/lib/postgresql/data \
  -p 5432:5432 \
  postgres:15


export FLASK_APP=app.py  
flask db init  
flask db migrate -m "create mj table"
flask db upgrade    


tail -f output.log
ddd