Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Amsterdam/GOB-Core

GOB-Core

GOB shared logic.

Include in a GOB project using:

pip install gobcore@git+https://github.com/Amsterdam/GOB-Core.git@vX.Y.Z

If you need to test with a local version of GOB-Core change the include line in requirements.txt with:

-e <<local path to GOB-Core>>

Docker

Requirements

  • docker compose >= 1.25
  • Docker CE >= 18.09

Tests

Python 3.9

docker compose build
docker compose run --rm test

Python 3.10

docker compose build
docker compose run --rm python_310

Local

Requirements

  • Python >= 3.9

Initialisation

Create a virtual environment:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Or activate the previously created virtual environment

source venv/bin/activate

Tests

Run the tests:

sh test.sh