File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ setup_demo () {
2525 make_user student1
2626
2727 # Install global nbgrader config file.
28+ mkdir -p /etc/jupyter/
2829 cp global_nbgrader_config.py /etc/jupyter/nbgrader_config.py
2930
3031 local courses=(course101 course123)
Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ source utils.sh
2323
2424install_dependencies () {
2525 echo " Installing dependencies..."
26- pip install -U pip
27- pip install -U jupyter
28- pip install -U jupyterhub
26+ apt install -y npm
27+ npm install -g configurable-http-proxy
28+ apt install -y python3-pip
29+ pip3 install -U jupyter
30+ pip3 install -U jupyterhub
2931}
3032
3133install_nbgrader () {
@@ -47,7 +49,7 @@ install_nbgrader () {
4749 git pull
4850
4951 # Install requirements and nbgrader.
50- pip install -U -r requirements.txt -e .
52+ pip3 install -U -r requirements.txt -e .
5153
5254 # Install global extensions, and disable them globally. We will re-enable
5355 # specific ones for different user accounts in each demo.
You can’t perform that action at this time.
0 commit comments