项目作者: rostegg

项目描述 :
tiny Flask REST API boilerplate
高级语言: Python
项目地址: git://github.com/rostegg/flask-rest-api-boilerplate.git
创建时间: 2019-03-30T16:33:44Z
项目社区:https://github.com/rostegg/flask-rest-api-boilerplate

开源协议:MIT License

下载


Tiny Flask REST API boilerplate

How to run?

For fast deploy, build docker-compose build or just run run-docker.sh script.
For standart execute, just run run-env.sh script or install requirement (pip install -r requirements.txt) and run run.py, if you don’t want to use virtualenv

Add Environment Variables

Just create config.env file in root folder, and write variables like: VARIABLE_NAME="value" and load to necessary config in config.py
More about Flask configuration variables you can read here