Some Common System dependencies are the following
*Python 2.7.3 (available via apt in debian "wheezy") or 2.7.5+ (in ubuntu 13.10)
*wget 1.13+ (older versions could not connect to PyPi via HTTPS)
*pip 1.1 (available via apt in debian wheezy as python-pip)
*git
*libbz2-dev
*libffi-dev
*libicu-dev
*libjpeg-dev
*libpython-dev
-
Get the repository from github.
git@github.com:AdrielVelazquez/client_list.git
-
Create the local DB and virtualenv
make install
. ./bin/activate && python server.py
Configs can be altered with
export CLIENT_CONFIG= <server_home_dir>/location/of/config-prod.py
make test
The endpoint accepts the id in the url
/api/client/<client-id>
The endpoint returns a json
{"client": client.name, "Exists": client.exists}