Skip to content

Commit

Permalink
Update postBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim authored Apr 25, 2019
1 parent 590274b commit ba1343d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions postBuild
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
#!/bin/bash

pip install https://github.com/jupyterhub/jupyter-server-proxy/archive/7ac0125.zip

# Enable the proxy extension in notebook and lab
jupyter serverextension enable --py jupyter_server_proxy
jupyter labextension install jupyterlab-server-proxy
jupyter lab build

# Download and install VS Code server
wget -q https://github.com/codercom/code-server/releases/download/1.792-vsc1.33.1/code-server1.792-vsc1.33.1-linux-x64.tar.gz
tar xzf code-server1.792-vsc1.33.1-linux-x64.tar.gz
wget -q https://github.com/codercom/code-server/releases/download/1.939-vsc1.33.1/code-server1.939-vsc1.33.1-linux-x64.tar.gz
tar xzf code-server1.939-vsc1.33.1-linux-x64.tar.gz
mkdir -p ~/.local/bin
mv code-server1.792-vsc1.33.1-linux-x64/code-server ~/.local/bin/
rm -rf code-server1.792-vsc1.33.1-linux-x64 code-server1.792-vsc1.33.1-linux-x64.tar.gz
mv code-server1.939-vsc1.33.1-linux-x64/code-server ~/.local/bin/
rm -rf code-server1.939-vsc1.33.1-linux-x64 code-server1.939-vsc1.33.1-linux-x64.tar.gz

# Install the VS code proxy
pip install -e.

0 comments on commit ba1343d

Please sign in to comment.