Developing#

If you plan to make change to the code in this repository, you can use the steps below.

Clone the repository:

$ git clone https://github.com/DiamondLightSource/soakdb3.git

It is recommended that you install into a virtual environment so this installation will not interfere with any existing Python software. Make sure to have at least python version 3.1 then:

$ python3 -m venv /scratch/$USER/myvenv
$ source /scratch/$USER/myvenv/bin/activate
$ pip install --upgrade pip

Install the package in edit mode which will also install all its dependencies:

$ cd soakdb3
$ pip install -e .[dev]

Now you may begin modifying the code.


If you plan to modify the docs, you will need to:

$ pip install -e .[docs]