build and run the backend and frontend webservers and an nginx proxy server that passes requests to these servers.
- MacOS Docker Desktop
- Windows Docker Desktop
- Linux Docker CE
If you installed Docker Desktop (MacOS/Windows) this is not needed
docker-compose build
docker-compose run --rm backend sh -c "python manage.py makemigrations"
docker-compose run --rm backend sh -c "python manage.py migrate"
docker-compose up
- Open up the browser at
localhost
- Browsable API at
localhost/api/explainer/network/
docker-compose run --rm backend sh -c "python manage.py test && flake8"
docker-compose run --rm nodeserver sh -c "npm test"