flask + gunicorn + gevent
Project description
Overview
guniflask是自动化生成基于flask + gunicorn + gevent的服务端项目基础代码的构建工具。
Installation
guniflask需要Python 3.4或更高版本的环境支持。
可以通过pip安装或升级guniflask:
pip install -U guniflask
Getting Started
新建一个空文件夹 foo 并进入到 foo 中运行guniflask:
$ mkdir foo && cd foo $ guniflask init
当出现提示时按 Enter 键即可选择默认设置。 提示项目创建成功后,运行启动项目的脚本:
$ bash bin/start-foo.sh
提示项目已启动后,在浏览器中访问 http://localhost:8000/api/hello-world 即可看到:
Hello World!
运行停止项目的脚本:
$ bash bin/stop-foo.sh
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guniflask-0.1.0.tar.gz
(23.1 kB
view hashes)