Skip to content

Commit

Permalink
update: conda init
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKulhanek committed Dec 5, 2019
1 parent f64b4ec commit 7bf61cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bootstrapservices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bf61cf

Please sign in to comment.