Skip to main content

Better coding experience for Flask

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/github/license/jadbin/guniflask

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

Project details


Download files

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

Files for guniflask, version 0.7.2
Filename, size File type Python version Upload date Hashes
Filename, size guniflask-0.7.2-py3-none-any.whl (102.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size guniflask-0.7.2.tar.gz (64.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page