forked from betatim/vscode-binder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |