2019-11-22 11:39:39 +01:00
|
|
|
************
|
|
|
|
Installation
|
|
|
|
************
|
|
|
|
|
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
There are 2 ways to install MsSpec. You can either:
|
|
|
|
- Use a Docker image
|
|
|
|
- Compile your own version
|
2019-11-22 11:39:39 +01:00
|
|
|
|
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
Using a Docker image
|
|
|
|
--------------------
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
You first need Docker (Docker Desktop) to be installed on your system.
|
|
|
|
This is really straightforward. Please see the `Docker website
|
|
|
|
<https://www.docker.com>`_ for more information.
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
You the need to load the MsSpec Docker image. For this step you can either:
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
- download the image (a \*.tar.gz file) from the
|
|
|
|
`MsSpec website <https://msspec.cnrs.fr>`_
|
|
|
|
and then load it into Docker
|
|
|
|
::
|
|
|
|
docker load < msspec_latest.tar.gz
|
2019-11-22 11:39:39 +01:00
|
|
|
|
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
- pull the image from our repository:
|
|
|
|
::
|
|
|
|
docker pull msspec:latest
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
That's all. MsSpec is installed. Now the command to launch the MsSpec environment depends slighly on the
|
|
|
|
OS you are runing:
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
- For Linux
|
|
|
|
::
|
|
|
|
xhost +
|
|
|
|
docker run --rm -it -e DISPLAY=$DISPLAY --net=host -v msspec_data:/home/msspec/data msspec
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
- For Windows
|
|
|
|
::
|
|
|
|
docker run --rm -it -e DISPLAY=host.internal.display:0 -v msspec_data:/home/msspec/data msspec
|
2019-11-22 11:39:39 +01:00
|
|
|
|
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
Compile your own version
|
|
|
|
------------------------
|
2019-11-22 11:39:39 +01:00
|
|
|
|
2021-07-05 17:50:49 +02:00
|
|
|
To install MsSpec this way, follow the instructions `here <https://git.ipr.univ-rennes1.fr/epsi/msspec_python3/src/branch/devel>`_
|