apps | ||
bin | ||
ojusomap | ||
support | ||
traefik | ||
.dockerignore | ||
.gitignore | ||
.gitlab-ci.yml | ||
docker-compose.yml | ||
Dockerfile | ||
environment.sh | ||
environment.template | ||
local.env | ||
local.yml | ||
manage.py | ||
ojuso-logo.svg | ||
README.md | ||
requirements-devel.txt | ||
requirements-test.txt | ||
requirements.txt | ||
setup.cfg | ||
system-requirements-debian.txt | ||
system-requirements-fedora.txt |
ojuso-map
Kickass map for the Ojuso Project
Getting Started
Install System Dependencies
Debian
$ cat system-requirements-debian.txt | xargs sudo apt-get install -y
Fedora
$ cat system-requirements-fedora.txt | sudo dnf install
## Bootstrap the Virtual Environment
Get your Python 3 environment on the go:
```bash
$ 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