This repository houses the service, accessible by HTTP RESTful API, responsable for manageing backround tasks within the Cognoma application backend.
Make sure to fork this repository on +GitHub first.
- Docker - tested with 1.12.1
- Docker Compose - tested with 1.8.0
Sometimes the postgres image takes a while to load on first run and the Django server starts up first. If this happens just ctrl+C and rerun
The code in the repository is also mounted as a volume in the task-service container. This means you can edit code on your host machine, using your favorite editor, and the django server will automatically restart to reflect the code changes.
Running tests locally
Make sure the service is up first using
docker-compose up then run:
docker-compose exec task python manage.py test