【文件属性】:
文件名称:Flask-Angularjs-JSON-Auth:使用Flask和Angularjs(Satellizer)进行JSON Web令牌认证
文件大小:3.64MB
文件格式:ZIP
更新时间:2021-05-05 15:35:05
CSS
Flask-Angularjs-JSON-Auth
使用Flask和Angularjs(Satellizer)进行JSON Web令牌认证
安装
pip install -r requirements.txt
vim config.py #Add your database details
python db.py db init
python db.py db migrate
python db.py db upgrade
vim create_user.py #Add a username password
python create_user.py
nohup uwsgi --socket 127.0.0.1:8001 --wsgi-file run.py --callable app --processes 4 --threads 2 --stat