Amsterdam / GOB-Core

GOB Core components
Mozilla Public License 2.0
0 stars 4 forks source link
team-benk

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

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

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