项目作者: sofyan48

项目描述 :
Sanic App Boiler Plate
高级语言: Python
项目地址: git://github.com/sofyan48/neo-sanic-boilerplate.git
创建时间: 2018-08-14T06:57:27Z
项目社区:https://github.com/sofyan48/neo-sanic-boilerplate

开源协议:

下载


NEO-SANIC PROJECT

This Boiler Plate From Sanic APP

Environment File

  1. APP_NAME = app-name
  2. APP_HOST = 127.0.0.1
  3. APP_PORT = 5000
  4. APP_VERSION = 0.0.0
  5. APP_RELEASE = AAA
  6. APP_CREATED = AAA
  7. APP_WORKERS = 2
  8. APP_DEBUG = True
  9. APP_SSL = None

Local Development

At the time neo-api only support Python3 or newer.

  1. pip3 install -r requirements.txt

After Installing Requirement File, Next Install redis

Use our locally default configuration

  1. cp env.example .env

Runing Server

  1. python manage.py server

Testing

Go To Browser Open this Url: http://127.0.0.1:5000/api/test/people