Update on_startup.sh
Browse files- on_startup.sh +17 -1
on_startup.sh
CHANGED
@@ -5,4 +5,20 @@
|
|
5 |
# cd transformers && pip install -e ".[dev]"
|
6 |
|
7 |
npm i -g tsx http-server miniflare@2
|
8 |
-
sudo chown -R 1000:1000 "/home/user/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
# cd transformers && pip install -e ".[dev]"
|
6 |
|
7 |
npm i -g tsx http-server miniflare@2
|
8 |
+
sudo chown -R 1000:1000 "/home/user/"
|
9 |
+
|
10 |
+
echo '
|
11 |
+
# >>> conda initialize >>>
|
12 |
+
__conda_setup="$(/home/user/miniconda/bin/conda shell.bash hook 2> /dev/null)"
|
13 |
+
if [ $? -eq 0 ]; then
|
14 |
+
eval "$__conda_setup"
|
15 |
+
else
|
16 |
+
if [ -f "/home/user/miniconda/etc/profile.d/conda.sh" ]; then
|
17 |
+
. "/home/user/miniconda/etc/profile.d/conda.sh"
|
18 |
+
else
|
19 |
+
export PATH="/home/user/miniconda/bin:$PATH"
|
20 |
+
fi
|
21 |
+
fi
|
22 |
+
unset __conda_setup
|
23 |
+
# <<< conda initialize <<<
|
24 |
+
' >> ~/.bashrc
|