- Create and activate a virtual environment:
python -m venv .venv && source .venv/bin/activate- Install the required dependencies:
pip install -e .- Run the app:
vtk-web # user --server or --hot_reloadWe use docker to build and deploy the app.
Note: the commands may need to be prefixed with sudo if the docker daemon is running as root.
To build the container, run the following command:
docker build <path-to-project-root-folder> --tag vtk-webTo run the container, run the following command:
docker run -D --rm -p <PORT>:80 vtk-webMore documentation on deployment can be found here.