Better coding experience for Flask
Project description
Overview
guniflask是自动化生成基于flask + gunicorn的服务端项目基础代码的构建工具。
Installation
guniflask需要Python 3.6或更高版本的环境支持。
可以通过pip安装或升级guniflask:
$ pip install -U guniflask
Getting Started
安装guniflask项目生成工具:
$ pip install -U guniflask-cli
新建一个空文件夹 foo 并进入到 foo 中:
$ mkdir foo && cd foo
运行如下命令:
$ guniflask init
当出现提示时按 Enter 键即可选择默认设置。 提示项目创建成功后,安装项目所需依赖:
$ pip install -r requirements/app.txt
调试模式启动项目:
$ bash bin/manage debug
在浏览器中访问 http://localhost:8000/hello-world 。
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.7.1.tar.gz
(65.0 kB
view hashes)
Built Distribution
guniflask-0.7.1-py2.py3-none-any.whl
(103.1 kB
view hashes)
Close
Hashes for guniflask-0.7.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 177fa8a993e3bcd8e27f5e9e0473f70168bb87d116f80082981ad6ef6ccba7c5 |
|
MD5 | 8591fd885dfec8676303e7a25149f41a |
|
BLAKE2b-256 | bcb1cd4411869bdfccefc664919364921ece16707e13081ba8a06ea6cb90f6d8 |