samuelololol / scarab

a custom api server based on python pyramid framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status logo

scarab

A custom API server based on Python Pyramid framework

Getting Started

Prepare the database

You could create your postgres via docker(optional, or you could simply use sqlite instead)

$ docker run -d -e POSTGRES_DB=postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres 

or just edit the sqlalchemy setting in development.ini.

Install and run in virtualenv

(venv)$ cd <directory containing this file>
(venv)$ venv/bin/python setup.py develop
(venv)$ venv/bin/initialize_scarab_db development.ini
(venv)$ venv/bin/pserve development.ini

TODO

About

a custom api server based on python pyramid framework


Languages

Language:Python 91.5%Language:CSS 7.4%Language:JavaScript 1.1%