Go to file
2018-04-14 12:41:44 +10:00
apps Make migrations for previous changes 2018-04-14 12:41:44 +10:00
bin Update lots of things 2017-06-16 18:10:44 +02:00
ojusomap Add some console debugging 2018-04-14 12:41:44 +10:00
support Update locale files for Weblate 2018-04-04 12:54:58 -04:00
.dockerignore Update .*ignore files to exclude envars 2017-05-21 01:54:15 +02:00
.gitignore Get a basic pytest CI in there. 2018-04-12 21:15:24 +02:00
.gitlab-ci.yml Add test coverage. 2018-04-12 21:42:14 +02:00
docker-compose.yml Remove jenkins 2018-04-10 14:33:07 -04:00
Dockerfile Add registration and login templates plus UI stuff, moderation 2017-10-08 21:21:51 +01:00
environment.sh Add registration and login templates plus UI stuff, moderation 2017-10-08 21:21:51 +01:00
environment.template Use MailGun via django-anymail instead of Gandi 2018-04-03 17:46:04 -04:00
local.env Add registration and login templates plus UI stuff, moderation 2017-10-08 21:21:51 +01:00
local.yml Don't run collectstatic for every. single. change 2018-03-29 01:21:54 -04:00
manage.py Add Django project and nginx conf + deps 2017-05-18 23:51:17 +02:00
README.md Woops. Fix that. 2018-04-12 21:48:20 +02:00
requirements.txt Revert "Autocomplete from GIS list of CRSs.." 2018-04-04 18:02:33 -04:00
setup.cfg Get a basic pytest CI in there. 2018-04-12 21:15:24 +02:00
system-requirements.txt Add some more instructions to the README. 2018-04-12 21:25:46 +02:00
test_requirements.txt Add test coverage. 2018-04-12 21:42:14 +02:00

Translation pipeline status coverage report

ojuso-map

Kickass map for the Ojuso Project

Getting Started

Install System Dependencies

$ cat system-requirements.txt | sudo apt-get install -y

Please note, the system dependencies have only been tested on Debian Stretch.

Bootstrap the Virtual Environment

Get your Python 3 environment on the go:

$ python3 -m venv .venv

Configure the Environment

$ export DEBUG=1
$ export DJANGO_SETTINGS_MODULE=ojusomap.settings

Install the Python Dependencies

$ pip3 install -r requirements.txt

If you run into issues with psycopg2 you may need to run the following:

$ pip uninstall psycopg2 && pip install --no-binary :all: psycopg2

Run The Migrations

$ python manage.py migrate

Run The Tests

$ pip install -r test_requirements.txt
$ pytest -v