Unfortunately, these instructions will only work with MacOS and Linux systems. Windows users will need to just follow along.
Please see the official installation instructions for your system
If you haven't already, you will need to install Python with pip and virtualenv packages on your system. There are many ways to do this, which depend on your OS. A comprehensive guide can be found here.
In most casees, the above instructions will also install pip and virtual env, but if you
are on Linux you may also need to install the packages separately, e.g. sudo apt install python3-pip
.
Next we will install a package called xnat4tests
that enables you to run your own
XNAT instance. It can be installed with
$ python3 -m venv ~/xnat4tests.venv
$ source ~/xnat4tests.venv/bin/activate
(xnat4tests.venv) $ pip install xnat4tests
(xnat4tests.venv) $ xnat4tests start