4
4
# jupyter/jupyterlab extensions/kernels #
5
5
# ##############################################################
6
6
7
- # sos installation
8
- python -m sos_notebook.install
9
- jupyter labextension install jupyterlab-sos --no-build
10
7
11
- # Beaker installation and extension
12
- beakerx install
13
- jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
14
- jupyter labextension install beakerx-jupyterlab --no-build
8
+ # Beakerx installation
9
+ # echo "Beakerx install"
10
+ # beakerx install
11
+ # echo "Beakerx extensions install"
12
+ # jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
13
+ # jupyter labextension install beakerx-jupyterlab --no-build
15
14
16
- # Git Jupyter/Lab extension
17
- jupyter labextension install @jupyterlab/git --no-build
18
- jupyter serverextension enable --py jupyterlab_git
19
-
20
- # Github Jupyter Lab extension
21
- jupyter labextension install @jupyterlab/github --no-build
22
-
23
- # Draw.io Jupyter Lab extension
24
- jupyter labextension install jupyterlab-drawio --no-build
25
-
26
- # Rise Jupyter extension (presentation mode)
27
- jupyter-nbextension install rise --py --sys-prefix
28
- jupyter-nbextension enable rise --py --sys-prefix
29
-
30
- # Plotly Jupyter Lab extension
31
- jupyter labextension install @jupyterlab/plotly-extension --no-build
32
15
33
16
# Table of contents Jupyter Lab Extension
17
+ echo " Table of contents Jupyter Lab extension install"
34
18
jupyter labextension install @jupyterlab/toc --no-build
35
19
36
20
# Jupyter/Jupyterlab extension for proxying internal applications
37
- jupyter serverextension enable --sys-prefix jupyter_server_proxy
38
- jupyter labextension install jupyterlab-server-proxy
21
+ # echo "Jupyter/Jupyterlab proxy extension install"
22
+ # jupyter serverextension enable --py jupyter_server_proxy
23
+ # jupyter labextension install jupyterlab-server-proxy
39
24
40
- # JupyterLab extension mimerenderer to render HTML files in IFrame Tab. https://github.com/mflevine/jupyterlab_html
41
- # jupyter labextension install @mflevine/jupyterlab_html --no-build
42
25
43
26
# Building everything up
44
- jupyter lab build --dev
27
+ echo " Building everything up (jupyter lab build)"
28
+ jupyter lab build
29
+
45
30
46
31
# ##############################################################
47
32
# moving to a local installation folder #
@@ -50,6 +35,7 @@ jupyter lab build --dev
50
35
mkdir ~ /resources/local
51
36
cd ~ /resources/local
52
37
38
+
53
39
# ##############################################################
54
40
# neo4j installation commands #
55
41
# ##############################################################
@@ -70,4 +56,37 @@ mv neo4j-community-${NEO4J_VERSION} neo4j-${NEO4J_VERSION}
70
56
71
57
# adding bin and sbin to $path
72
58
echo " export PATH=\$ PATH:\$ NEO4J_HOME/bin" >> ~ /.bashrc
73
- echo " export PATH=\$ PATH:\$ NEO4J_HOME/bin" >> ~ /.profile
59
+ echo " export PATH=\$ PATH:\$ NEO4J_HOME/bin" >> ~ /.profile
60
+
61
+
62
+
63
+
64
+ # ##############################################################
65
+ # vscode server installation #
66
+ # ##############################################################
67
+
68
+ cd ~ /resources/local
69
+
70
+ export CODE_SERVER_VERSION=3.3.0
71
+ echo " export CODE_SERVER_VERSION=${CODE_SERVER_VERSION} " >> ~ /.bashrc
72
+ echo " export CODE_SERVER_VERSION=${CODE_SERVER_VERSION} " >> ~ /.profile
73
+
74
+ export CODE_SERVER_HOME=$( pwd) /code-server-${CODE_SERVER_VERSION}
75
+ echo " export CODE_SERVER_HOME=${CODE_SERVER_HOME} " >> ~ /.bashrc
76
+ echo " export CODE_SERVER_HOME=${CODE_SERVER_HOME} " >> ~ /.profile
77
+
78
+ # Download and install VSCode server
79
+ # 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
80
+ wget -q -O code-server.tar.gz https://github.com/cdr/code-server/releases/download/v$CODE_SERVER_VERSION /code-server-$CODE_SERVER_VERSION -linux-amd64.tar.gz
81
+ tar xzf code-server.tar.gz
82
+ # mv code-server-${CODE_SERVER_VERSION}-linux-x86_64 code-server-$CODE_SERVER_VERSION
83
+ mv code-server-$CODE_SERVER_VERSION -linux-amd64 code-server-$CODE_SERVER_VERSION
84
+
85
+ rm -rf code-server.tar.gz
86
+
87
+ # adding bin/ to $path
88
+ echo " export PATH=\$ PATH:\$ CODE_SERVER_HOME/bin" >> ~ /.bashrc
89
+ echo " export PATH=\$ PATH:\$ CODE_SERVER_HOME/bin" >> ~ /.profile
90
+
91
+ source ~ /.bashrc
92
+
0 commit comments