The project consists of:
- User Interface (
frontend/
): the frontend GUI - Backend Server (
backend/
): a Python server that runs the GUI and talks to devices
First, make sure you have Docker and pipenv installed on your machine. Issue the following command to check.
$ pipenv --version
If no version information is shown, pipenv hasn't installed properly. Install using.
$ pip install --user pipenv
Then, install the development dependencies using pipenv.
$ pipenv install --dev
You will now have docker-compose
available in a Python virtual environment.
You can use pipenv run docker-compose
to run docker-compose without needing to
activate the virtual environment. pipenv run dc
is a shortcut to avoid typing.
pipenv run dc up
will run the project at http://localhost:8000/
.