diff --git a/scripts/bootstrapservices.sh b/scripts/bootstrapservices.sh index bd7cc05..f8497b8 100644 --- a/scripts/bootstrapservices.sh +++ b/scripts/bootstrapservices.sh @@ -8,18 +8,18 @@ dos2unix /vagrant/scripts/jupyterinapache.sh chown -R vagrant:vagrant /home/vagrant tail -n +$[LINENO+2] $0 | exec sudo -u vagrant bash exit $? +set -x # install pyfmi and mamba +/home/vagrant/jupyter/bin/conda init /home/vagrant/jupyter/bin/conda install -q -y -c conda-forge pyfmi mamba - n=0 until [ $n -ge 5 ] do echo "attempting to do mamba install "$n /home/vagrant/jupyter/bin/mamba install -q -y -c conda-forge sos sos-pbs sos-notebook jupyterlab-sos sos-bash sos-python && break # substitute your command here n=$[$n+1] - sleep 15 + sleep 2 done - # install julia dependencies for jupyter (ijulia) and demo notebook using rdatasets /home/vagrant/julia-1.3.0/bin/julia -e "using Pkg; Pkg.add(\"IJulia\");Pkg.add(\"RDatasets\");Pkg.add(\"Gadfly\")" sudo systemctl stop jupyter