14.1. Setting up a development environment¶
mkdir ~/dev cd ~/dev git clone email@example.com:ucam-department-of-psychiatry/camcops.git
python3 -m venv ~/.virtualenvs/camcops . ~/.virtualenvs/bin/activate
Ensure the virtualenv is activated as above.
cd ~/dev/camcops/camcops_server python -m pip install -e .
The pre-commit hook will sanity-check all files to be committed to the git repository.
Now might be a good time to run all the automated server tests.