Note: It is required to have postgres installed
git clone git@github.com:rogerwh/pjBiblioteca.github
mkvirtualenv biblioteca --python=`which python2`
pip install -r requirements.txt
In shell execute:
sudo -u postgres createdb biblioteca
In postgres shell:
CREATE USER biblioteca WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE biblioteca to biblioteca;
./manage.py migrate
./manage.py loaddata autor.json
http://127.0.0.1:8000/biblioteca/autor/listarfuncion/