File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 2
2
venv /
3
3
4
4
# Notebook checkpoints
5
- .ipynb_chekpoints /
5
+ .ipynb_chekpoints /
6
+
7
+ # Sekrets
8
+ .env
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ curl -OL https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.1-linux-x86_64.tar.gz
4
+
5
+ sudo mkdir -p /opt; sudo tar xf julia-1.6.1-linux-x86_64.tar.gz --directory /opt
6
+
7
+ sudo ln -s /opt/julia-1.6.1/bin/julia /usr/local/bin/julia
8
+
9
+
10
+ cat > /tmp/setup.sh << EOF
11
+ /bin/sh
12
+
13
+ while ! grep -q emr-notebook /etc/passwd; do sleep 10; done;
14
+
15
+ sleep 10
16
+
17
+ sudo -u emr-notebook JUPYTER=/emr/notebook-env/bin/jupyter /usr/local/bin/julia -e 'using Pkg; Pkg.add(["IJulia"])'
18
+
19
+ EOF
20
+
21
+ chmod +x /tmp/setup.sh
22
+
23
+ nohup /tmp/setup.sh 2>&1 &
You can’t perform that action at this time.
0 commit comments