A demonstration of a Personal API.
I assume you are running postreSQL locally
- Clone this repo
virtualenv venv# initialize a virtual environment [only once]. ./activate.sh# to activate the virtual environmentpip install -r requirements.txt# install the dependencies- rename
.env_sampleto.envand update the credentials - make manage.py executable
./manage.py db upgrade# create the database./manage.py runserver# execute the program
To cleanup your local directory run ./cleanup.sh
The documentation is located on Apiary.
./manage.py test# run the tests in the tests folder
If you are running the tests for the very first time with empty DBs, they will fail upon first execution, but then subsequently pass