Logo Lanfrica

laws-africa/pl-indigo

Record type:

software
Creator:
law
Host:
Indigo for Poland # pl-indigo Indigo for Poland # Local development This package uses pipenv, which combines virtualenv and pip into a simpler package. To setup your local environment: * ensure you have pipenv installed * clone this repo and move into the repo directory * setup a virtualenv and install development dependencies: `pipenv install --dev` * setup the database and other dependencies (TODO: document) * run the local server: `pipenv run python manage.py runserver` * visit localhost ## Running tests To run tests on your code, use: pipenv run python manage.py test # Updating your Indigo dependency If you need to update you Indigo version to a certain commit in the Indigo repo: * get the SHA-1 hash of the commit you want * update your install-time dependency: `pipenv install 'git+github.com #egg=indigo'` * update your development-time dependency: `pipenv install --dev 'git+github.com #egg=indigo[dev]'` Updating the development-time dependency with the extra `[dev]` part ensures that Indigo's dev-time requirements are included. Basically, this ensures that you can run the tests.