Development

This page is for people who want to set up a development environment for Rau.

Clone the repo:

git clone git@github.com:bdusell/rau.git
cd rau

Optional: To simplify software installation, set up the pre-made Docker container defined in this repo. To do this, install Docker and the NVIDIA Container Toolkit (for GPU support), then run this script in order to start a shell inside of the container:

bash scripts/docker_shell.bash --build

(If you don’t have an NVIDIA GPU, don’t install the NVIDIA Container Toolkit, and run the above command with the flag --cpu added.)

Install Python dependencies. This can be done by installing the package manager Poetry (it’s already installed in the Docker container) and running this script:

bash scripts/install_python_packages.bash

Start a shell inside the Python virtual environment using Poetry:

bash scripts/poetry_shell.bash

You are now ready to use Rau.