Go to file
2018-05-19 13:53:34 -04:00
apps Convert some CharFields to TextFields 2018-05-19 13:53:34 -04:00
bin Update lots of things 2017-06-16 18:10:44 +02:00
ojusomap Further work on multi-file-upload 2018-04-23 01:15:33 -04:00
support Make welcome text translatable 2018-04-19 13:01:16 -04:00
traefik Add traefik config 2018-04-19 11:56:15 +00: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 django-override-storage to test reqs 2018-05-01 13:31:07 -04:00
docker-compose.yml Add missing MEMCACHED_HOST to fix Weblate 2018-04-23 01:57:28 -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
ojuso-logo.svg Add the ojuso logo as a simplified SVG 2018-04-15 22:55:43 +10:00
README.md Add django-override-storage to test reqs 2018-05-01 13:31:07 -04:00
requirements-devel.txt Add requirements-devel 2018-04-23 02:03:06 -04:00
requirements-test.txt Add django-override-storage to test reqs 2018-05-01 13:31:07 -04:00
requirements.txt Add coordinates autocomplete widget & data (#32) 2018-04-16 14:27:13 +10: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

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-devel.txt

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

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

Run The Migrations

$ python manage.py migrate

Run The Tests

$ pip install -r requirements-test.txt
$ pytest -v