flask playground
《flask入门教程》https://read.helloflask.com
从零开始编码
git clone源码
$ git clone https://github.com/zhoushx1018/flask_playground.git
$ pip3 install -r requirements.txt
$ flask forge
## Running on http://0.0.0.0:8080/
$
$ flask run -h 0.0.0.0 -p 8080
此时无法维护(增删改)“电影列表”,只能查看
$ curl http://localhost:8080/
用管理员账号登录后,可以维护(增删改)“电影列表”
$ flask admin
## 通过浏览器访问服务
http://IP:8080/
## 查看路由列表
$ flask routes
$ pwd
/home/ubuntu/sourceBuffer/github.com/zhoushx1018/flask_playground
$ python3 -m unittest discover
$
http://IP:8080/alipay/send_test_order
详见 flask_playground/hacktest/