j3r3miah / wx-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Skeleton Environment

  • Python 3.5
  • PostgreSQL
  • uWSGI
  • nginx
  • Alembic

Requirements

  • Docker (I'm using 1.13.0 on Mac)
  • Docker Compose

Instructions

Firstly, get the postgres db volume set up: $ ./develop init_db

Build the containers: $ ./develop build

Start everything up: $ ./develop up

Tail the logs: $ ./develop logs

If uWSGI gets jammed: $ ./develop bounce

Stop everything: $ ./develop down

Take a look at the develop for other commands.

About


Languages

Language:Python 75.0%Language:Shell 20.3%Language:Nginx 4.1%Language:HTML 0.6%