Skip to content

Development Environment

Geoffroy Noël edited this page Dec 15, 2019 · 5 revisions

On-off set up

# install poetry
sudo pip install "poetry<1"
#
cd django-controlled-vocabulary
# let poetry install virtual environment
poetry install

Run django tests

cd tests
poetry run python manage.py test controlled_vocabulary

Run django testing app

cd tests
poetry shell
./manage.py migrate
./manage.py vocab init
./manage.py runserver 0:8000

Build package & Publish to Pypi

poetry version
poetry build
poetry publish
Clone this wiki locally