oddball / gae-flask-skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gae-flask-skeleton Circle CI Status

Simple setup of Google App Engine for python, using Flask, Flask-Login, flask-restplus with unittests, integration tests and test of task queues.

It is not a complete system, but a starting point. Add your own OAuth library.

Continuous integration is running on CircleCI.

Through flask-restplus it shows swagger documentation of the api swagger

It validates the payload with jsonschema

First time

On MacOSX, get google-cloud-sdk

brew install Caskroom/cask/google-cloud-sdk
gcloud components install app-engine-python
gcloud auth login

From clean repo

make

Configure

make config_test

Local dev server

make local

Deploy to google

make deploy

Running the unittests

make test

example of running single test

venv/bin/nosetests -vv --nologcapture --nocapture app/test/tests/testcases.py -m test_backoffice

About


Languages

Language:Python 86.0%Language:HTML 12.5%Language:Makefile 1.5%