Install Building DASHER on Linux - KCL-BMEIS/DASHER GitHub Wiki
Home | Installation Guide | User Guide | Admin Guide | User Tests
The Linux scripts for building and maintaining DASHER are located in the [install folder]/DASHER/Linux directory.
You must first install two dependencies, dos2unix and bats
sudo apt install dos2unix bats
or for Redhat or centOS:
sudo yum install dos2unix bats
Then you must convert files to Linux format (dos2unix), allow scripts to be executed (chmod) and run the build script. E.g.:
cd [install folder]/DASHER/Linux
dos2unix *
chmod 775 *
sudo ./build.sh
The build process can take a considerable amount of time, depending on the internet speed etc. A series of tests will follow, which will also take a considerable time. The total process can take an hour or more. Please be patient and allow the build and tests to finish.
The terminal will update as the build and tests progress, and will indicate when the process has finished. If the build and tests were successful the command prompt should look like this:
You can also check the docker containers are running by typing the following command in the command prompt:
docker ps
There should be 5 active containers:
If the build or tests did not appear to complete successfully, or if there are not 5 active containers running as shown above, please raise an issue on the Issues page.
Please include your xnat.cfg file, your system setup (OS, memory, cpu etc), the outputs to:
docker image ls
docker ps
And the log files:
[storage_path]/scripts1/logs/setup-xnat.log
[storage_path]/scripts2/logs/setup-xnat.log
Next