diff --git a/docs/_source/installation.rst b/docs/_source/installation.rst index 05f0539dd8a36b45139b1259d9ddcba241ca7a9d..2295c76dcfa63a561ca71bfec36a7257be9ba96e 100644 --- a/docs/_source/installation.rst +++ b/docs/_source/installation.rst @@ -49,12 +49,12 @@ In this example, we are using the Linux user “ewsmanager†and group “ews mkdir -p .\code regions\EastAfrica\workspace regions\SouthAsia\workspace regions\EastAfrica\resources regions\SouthAsia\resources met_inputs\metofficeupload\upload\Ethiopia\toMO\ met_inputs\metofficeupload\upload\Ethiopia\fromMO\daily_name\ web_data\Ethiopia met_inputs\metofficeupload\upload\SouthAsia\toMO\ met_inputs\metofficeupload\upload\SouthAsia\fromMO\daily_name\ web_data\SouthAsia .\logs .\envs\credentials -:download:`Download .batch file <../_static/assets/windows_create_dirs.batch>` -:download:`Download .sh file <../_static/assets/linux_create_dirs.sh>` +:download:`Download .cmd file <../_static/assets/windows_create_dirs.cmd>` +:download:`Download .sh file <../_static/assets/linux_create_dirs.sh>` chmod -R g+sw <install_location> -(make all files written here default to the current user group, and group-writable +make all files written here default to the current user group, and group-writable. This is not necessary if you are depoying in a single-user environment, such as a personal computer 2: Clone code ------------- @@ -86,6 +86,10 @@ or generate this string in bash: printf "%s" "git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/${repo}.git ${folder};" done +:download:`Download .cmd file <../_static/assets/windows_clone_git.batch>` +:download:`Download .sh file <../_static/assets/linux_clone_git.sh>` + + 3: Copy the Resources needed for the various chart areas: --------------------------------------------------------- .. admonition:: Configuration files from Cambridge required diff --git a/docs/_static/assets/linux_clone_git.sh b/docs/_static/assets/linux_clone_git.sh new file mode 100644 index 0000000000000000000000000000000000000000..e97d50d40a907c74397ada1a19fcd7dd1cbc488f --- /dev/null +++ b/docs/_static/assets/linux_clone_git.sh @@ -0,0 +1,11 @@ +#!/bin/bash +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-coordinator.git coordinator; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-environmental-suitability.git environmental_suitability; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-advisory-builder.git advisory_builder; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-plotting.git plotting; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-epidemiology.git epimodel; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-source-calculation.git source_gen; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-coordinator.git coordinator; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-job-flagging.git flagdir; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-met-processing.git met_extractor_v2; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-postprocessing.git post_processing; \ No newline at end of file diff --git a/docs/_static/assets/windows_clone_git.batch b/docs/_static/assets/windows_clone_git.batch new file mode 100644 index 0000000000000000000000000000000000000000..ccb6c4976d3dec1e7596555c45c381c7e03c0cbb --- /dev/null +++ b/docs/_static/assets/windows_clone_git.batch @@ -0,0 +1,11 @@ +@ECHO OFF +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-coordinator.git coordinator; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-environmental-suitability.git environmental_suitability; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-advisory-builder.git advisory_builder; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-plotting.git plotting; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-epidemiology.git epimodel; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-source-calculation.git source_gen; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-coordinator.git coordinator; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-job-flagging.git flagdir; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-met-processing.git met_extractor_v2; +git clone git@gitlab.developers.cam.ac.uk:gilligan-epid/wheat-rusts/ews-postprocessing.git post_processing; \ No newline at end of file diff --git a/docs/_static/assets/windows_create_dirs.batch b/docs/_static/assets/windows_create_dirs.batch deleted file mode 100644 index b95f12a39496c84ab29e3eaf7ab71b346b534abf..0000000000000000000000000000000000000000 --- a/docs/_static/assets/windows_create_dirs.batch +++ /dev/null @@ -1 +0,0 @@ -this is a batch file \ No newline at end of file diff --git a/docs/_static/assets/windows_create_dirs.cmd b/docs/_static/assets/windows_create_dirs.cmd new file mode 100644 index 0000000000000000000000000000000000000000..78039402c415a3cedcdd68f833612e3cd36c27e9 --- /dev/null +++ b/docs/_static/assets/windows_create_dirs.cmd @@ -0,0 +1,2 @@ +@ECHO OFF +mkdir .\code regions\EastAfrica\workspace regions\SouthAsia\workspace regions\EastAfrica\resources regions\SouthAsia\resources met_inputs\metofficeupload\upload\Ethiopia\toMO\ met_inputs\metofficeupload\upload\Ethiopia\fromMO\daily_name\ web_data\Ethiopia met_inputs\metofficeupload\upload\SouthAsia\toMO\ met_inputs\metofficeupload\upload\SouthAsia\fromMO\daily_name\ web_data\SouthAsia .\logs .\envs\credentials \ No newline at end of file