Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

flask + gunicorn + gevent

Project description

https://travis-ci.org/jadbin/guniflask.svg?branch=master https://coveralls.io/repos/github/jadbin/guniflask/badge.svg?branch=master https://img.shields.io/badge/license-Apache2-blue.svg

Overview

guniflask是自动化生成基于flask + gunicorn + gevent的服务端项目基础代码的构建工具。

Installation

guniflask需要Python 3.5或更高版本的环境支持。

可以通过pip安装或升级guniflask:

pip install -U guniflask

Getting Started

新建一个空文件夹 foo 并进入到 foo 中运行guniflask:

$ mkdir foo && cd foo
$ guniflask init

当出现提示时按 Enter 键即可选择默认设置。 提示项目创建成功后,安装项目所需依赖:

$ pip install -U guniflask[app]

启动项目:

$ bash bin/manage start

提示项目已启动后,在浏览器中访问 http://localhost:8000/api/hello-world 即可看到:

Hello World!

停止项目:

$ bash bin/manage stop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
guniflask-0.2.5.tar.gz (31.1 kB) Copy SHA256 hash SHA256 Source None Sep 18, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page