From 96878b560891c6ad7251f0b05f0ab6d0b2ddf1cf Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 16 Jan 2024 13:15:00 +0000
Subject: [PATCH] doc work

---
 docs/_source/installation.rst                 | 10 +++++++---
 docs/_static/assets/linux_clone_git.sh        | 11 +++++++++++
 docs/_static/assets/windows_clone_git.batch   | 11 +++++++++++
 docs/_static/assets/windows_create_dirs.batch |  1 -
 docs/_static/assets/windows_create_dirs.cmd   |  2 ++
 5 files changed, 31 insertions(+), 4 deletions(-)
 create mode 100644 docs/_static/assets/linux_clone_git.sh
 create mode 100644 docs/_static/assets/windows_clone_git.batch
 delete mode 100644 docs/_static/assets/windows_create_dirs.batch
 create mode 100644 docs/_static/assets/windows_create_dirs.cmd

diff --git a/docs/_source/installation.rst b/docs/_source/installation.rst
index 05f0539..2295c76 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 0000000..e97d50d
--- /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 0000000..ccb6c49
--- /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 b95f12a..0000000
--- 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 0000000..7803940
--- /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
-- 
GitLab