An open API service indexing awesome lists of open source software.

https://github.com/jadbin/guniflask

Better coding experience for Flask
https://github.com/jadbin/guniflask

dependency-injection flask gunicorn restful-api web-services

Last synced: 5 months ago
JSON representation

Better coding experience for Flask

Awesome Lists containing this project

README

          

guniflask
=========

.. image:: https://travis-ci.com/jadbin/guniflask.svg?branch=master
:target: https://travis-ci.com/jadbin/guniflask

.. image:: https://coveralls.io/repos/github/jadbin/guniflask/badge.svg?branch=master
:target: https://coveralls.io/github/jadbin/guniflask?branch=master

.. image:: https://img.shields.io/github/license/jadbin/guniflask
:target: https://github.com/jadbin/guniflask/blob/master/LICENSE

Overview
--------

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

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

Documentation
-------------

https://guniflask.readthedocs.io/