Changes
Page history
Update Installation guide
authored
Feb 13, 2024
by
Moreau Nicolas
Hide whitespace changes
Inline
Side-by-side
Installation-guide.md
View page @
e117bb4e
...
@@ -7,12 +7,14 @@ python 3 >= 3.7
...
@@ -7,12 +7,14 @@ python 3 >= 3.7
Initial steps
Initial steps
=============
=============
1.
Install docker-compose
1.
Install docker-compose
2.
Get the Yafits archive (https://zenodo.org/record/3696974#.Ya-L633ftdB)
2.
Add the user that will run the command to the docker group (sudo usermod -aG docker ${USER})
3.
Untar the archive in a directory
3.
Start a new session or su - ${USER}
4.
Go in the newly created directory
4.
Get the Yafits archive (https://zenodo.org/record/3696974#.Ya-L633ftdB)
5.
Copy yafits.bashrc.dist in .yafits.bashrc
5.
Untar the archive in a directory
6.
Fill .yafits.bashrc configuration file according to your needs ( the file is self-documented )
6.
Go in the newly created directory
7.
Copy yafits.bashrc.dist in .yafits.bashrc
8.
Fill .yafits.bashrc configuration file according to your needs ( the file is self-documented )
By default the application will use 3 ports :
By default the application will use 3 ports :
*
3022 for the UI
*
3022 for the UI
...
@@ -22,14 +24,14 @@ By default the application will use 3 ports :
...
@@ -22,14 +24,14 @@ By default the application will use 3 ports :
Installation without spectroscopic data
Installation without spectroscopic data
========================================
========================================
1.
Start from Initial step ->
5
1.
Start from Initial step ->
8
2.
Check that ./yafits scripts is executable
2.
Check that ./yafits scripts is executable
3.
Execute ./yafits buildrun
3.
Execute ./yafits buildrun
Installation with spectroscopic data
Installation with spectroscopic data
====================================
====================================
1.
Start from Initial step ->
5
1.
Start from Initial step ->
8
2.
Download spectroscopic data zip files
2.
Download spectroscopic data zip files
3.
Moves them in YAFITS_HOME/spectro/mongo-seed/data
3.
Moves them in YAFITS_HOME/spectro/mongo-seed/data
4.
Comment/Uncomment content of YAFITS_HOME/spectro/mongo-seed/Dockerfile
4.
Comment/Uncomment content of YAFITS_HOME/spectro/mongo-seed/Dockerfile
...
...
...
...