This repository has been archived by the owner on Apr 1, 2022. It is now read-only.
-
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.
(#43) Add bash, Python, and JupyterLab.
- Loading branch information
Pavel Sobolev
committed
Jul 1, 2020
1 parent
8169cec
commit 87ea011
Showing
9 changed files
with
104 additions
and
15 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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# Print info | ||
echo -e '\n\e[1m\033[36mInstalling Python:\033[0m' | ||
|
||
# Install the package | ||
echo -e '\e[1m\033[36m> Installing python3...\033[0m' | ||
apk add --no-cache py3-pyzmq=18.1.1-r0 >/dev/null | ||
|
||
# Install pip3 | ||
echo -e '\e[1m\033[36m> Installing pip3...\033[0m\n' | ||
apk add --no-cache py3-pip=20.1.1-r0 >/dev/null |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
# Print info | ||
echo -e '\n\e[1m\033[36mInstalling JupyterLab:\033[0m' | ||
|
||
# Install wheel | ||
echo -e '\e[1m\033[36m> Installing wheel...\033[0m' | ||
pip3 install --no-cache-dir wheel==0.34.2 >/dev/null | ||
|
||
# Install jupyter | ||
echo -e '\e[1m\033[36m> Installing jupyter...\033[0m' | ||
pip3 install --no-cache-dir jupyter==1.0.0 >/dev/null | ||
|
||
# Install jupyterlab | ||
echo -e '\e[1m\033[36m> Installing jupyterlab...\033[0m' | ||
pip3 install --no-cache-dir jupyterlab==2.1.5 >/dev/null | ||
|
||
# Add aliases for running a notebook server | ||
echo -e '\e[1m\033[36m> Adding aliases for running a notebook server...\033[0m\n' | ||
echo ' | ||
# Aliases for running a notebook server | ||
alias jnote="jupyter notebook --ip 0.0.0.0 --no-browser" | ||
alias jlab="jupyter lab --ip 0.0.0.0 --no-browser"' >> ~/.zshrc |