Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.25 KB

Build Status Codacy Badge Codacy Badge

socializa-api

Socializa is an interactive game for play it out of home

Preinstall

You need a postgres database.

sudo su - postgres
psql -c "create user socializa password 'socializa'"
psql -c "create database socializa owner socializa"

Install and exec

pip install -r requirements.txt
./manage.py migrate
./manage.py loaddata base/fixtures/applications.json
./manage.py runserver

Run tests

You need permission for create test database:

sudo su - postgres
psql -c "create database test_socializa owner socializa"
psql test_socializa
ALTER USER socializa CREATEDB;

./manage.py test --keepdb