FunCode
Install
- Clone this repository to your local machine.
cd
to project root directory.- Install virtualenv:
virtualenv --no-site-packages --prompt="(funcode)" venv
- Install dependencies:
pip install -r ./requirements/base.txt
- Create user and database.
- Run migrations:
python manage.py migrate
- Install fixtures:
python manage.py loaddata ./app/fixtures/users.json
- Run server:
python manage.py runsever
- Navigate your browser to http://127.0.0.1:8000
Testing
To run tests you are just need to run py.test
: py.test --ds=conf.dev.settings ./tests