renansfs / esic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EsicLivre

Micro serviço para interação com o eSIC municipal de São Paulo.

Install

$ python setup.py develop

Se está usando Postgres:

$ pip install psycopg2

Prepare DB

Create the database and user, set them in settings/local_settings.py as SQLALCHEMY_DATABASE_URI.

SQLALCHEMY_DATABASE_URI = 'postgresql://<user>:<password>@localhost/<database>'

Create tables:

$ python manage.py initdb

Run!

$ python manage.py run

API

Needs doc...

About

License:GNU Affero General Public License v3.0


Languages

Language:Python 98.7%Language:Shell 0.7%Language:Mako 0.6%