forked from KTH-dESA/esom_gsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.sh
25 lines (19 loc) · 852 Bytes
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo apt-get update
sudo apt-get install coinor-cbc unzip
# 1. Install environment for snakemake
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
conda install -c conda-forge mamba
mamba create -c bioconda -c conda-forge -n snakemake snakemake-minimal SALib pandas numpy graphviz glpk seaborn
conda activate snakemake
pip install -r requirements.txt
# 2. Get the OSeMOSYS model
wget https://github.com/OSeMOSYS/OSeMOSYS_GNU_MathProg/releases/download/v1.0/osemosys_gnu_mathprog_v1.0.zip
unzip osemosys_gnu_mathprog_v1.0.zip
# 3. Get the workflow
git clone [email protected]:ClimateCompatibleGrowth/gui_workflow.git
# 4. Get the model files
git clone [email protected]:ClimateCompatibleGrowth/gui_osemosys.git
cd gui_osemosys
git fetch origin
git checkout osemosys_v1