learn flask
创建虚拟环境
virtualenv --no-site-packages venv
source venv/bin/activate
安装依赖
pip install -r requirements.txt
初始化数据库
python manage.py db init
python manage.py db migrate
开发
python manage.py
部署
docker build -t ImageName[:imageTag] .
docker run -p 80:8888 ImageName[:imageTag]
TODO
- 数据库外挂
- JWT 权限认证