Skip to content

Commit ecd5fd8

Browse files
authored
Merge pull request betatim#10 from xhochy/code-server-conda
Install code-server via conda
2 parents f30edc5 + 322ce9b commit ecd5fd8

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

apt.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

environment.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- numpy
5+
- jupyter-server-proxy
6+
- code-server

postBuild

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
#!/bin/bash
22

3-
CODE_SERVER_VERSION="2.1692-vsc1.39.2"
4-
53
# Enable the proxy extension in notebook and lab
64
jupyter serverextension enable --py jupyter_server_proxy
75
jupyter labextension install jupyterlab-server-proxy
86
jupyter lab build
97

10-
# Download and install VS Code server
11-
wget -q -O code-server.tar.gz https://github.com/cdr/code-server/releases/download/${CODE_SERVER_VERSION}/code-server${CODE_SERVER_VERSION}-linux-x86_64.tar.gz
12-
mkdir -p ~/.local/bin
13-
tar -xvf code-server.tar.gz -C ~/.local/bin --strip-components=1
14-
rm -rf code-server.tar.gz
15-
16-
wget https://github.com/microsoft/vscode-python/releases/download/2019.10.44104/ms-python-release.vsix
17-
code-server --install-extension ms-python-release.vsix
18-
rm -rf ms-python-release.vsix
8+
code-server --install-extension ms-python.python
199

2010
# Install the VS code proxy
2111
pip install -e.

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)