Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 332 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 332 Bytes
pipenv shell
# flask env
FLASK_APP=run
FLASK_ENV=development

# app env
DATABASE_URL=mysql+pymysql://root:1234@localhost:3306/app

# docker-compose env
MYSQL_ROOT_PASSWORD=1234
MYSQL_DATABASE=app
docker-compose up
flask run
flask db init
flask db migrate
flask db upgrade