Skip to content

Commit 41e9015

Browse files
committed
fixes to cloud environment setup scripts
1 parent a8ee4ae commit 41e9015

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

Cloud_Setup/install_packages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ red_start='\033[0;31m'
2121
blue_start='\033[0;34m'
2222
nocolor_start='\033[0m'
2323

24+
25+
source ~/.bashrc
2426
mamba init
2527

2628
# create jupyter environment

Cloud_Setup/install_packages_bigmem.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ blue_start='\033[0;34m'
1515
nocolor_start='\033[0m'
1616

1717

18+
source ~/.bashrc
1819
conda init
1920

2021
# create conda environment called 'jupyter'

Cloud_Setup/jupyter_env_setup.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
#!/bin/bash
22

3+
# get path of directory where script is located
4+
script_dir=$(dirname "$0")
5+
36
# install wget and tmux
4-
sh ./install_wget_tmux.sh
7+
sh ${script_dir}/install_wget_tmux.sh
58

69
# download and install miniforge/conda/mamba
7-
sh ./install_conda_mamba.sh
10+
sh ${script_dir}/install_conda_mamba.sh
811

912
# download and install a bunch of packages
1013
# including ecco_v4_py and jupyterlab
11-
sh ./install_packages_bigmem.sh
14+
sh ${script_dir}/install_packages_bigmem.sh

0 commit comments

Comments
 (0)