c-scale-community / workflow-coastal-hydrowaq

Porting and deploying the HiSea use case on C-SCALE
Apache License 2.0
3 stars 1 forks source link

Test conda enviroments #34

Closed sebastian-luna-valero closed 1 year ago

sebastian-luna-valero commented 1 year ago

Here is a quick test:

# install conda
cd
mkdir conda-envs
cd conda-envs/
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p use-case-hisea
source use-case-hisea/etc/profile.d/conda.sh
conda install mamba -c conda-forge --yes

# install environments
cd /path/to/use-case-hisea/repo
mamba env create -f ./scripts/download/environment.yml
mamba env create -f ./scripts/preprocessing/environment.yml
mamba env create -f ./scripts/postprocessing/environment.yml

# run condatest.sh
bash condatest.sh
sebastian-luna-valero commented 1 year ago

Closing in favor of https://github.com/c-scale-community/use-case-hisea/pull/41