-
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.
Added script installation for docker container
- Loading branch information
1 parent
165de02
commit c6aa461
Showing
4 changed files
with
168 additions
and
203 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 was deleted.
Oops, something went wrong.
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,32 @@ | ||
|
||
#!/bin/bash | ||
|
||
#Create IM Client YAML template file (just in case) | ||
mkdir -p $HOME/.imclient/templates | ||
|
||
#Install and enable plugin content | ||
if jupyter pip install apricot; then | ||
echo -e "Plugin installed." | ||
|
||
else | ||
|
||
echo -e "Plugin installation failed!" | ||
exit 2 | ||
fi | ||
|
||
if jupyter nbextension enable apricot_plugin/main; then | ||
echo -e "Plugin enabled." | ||
|
||
else | ||
|
||
echo -e "Fail enabling plugin!" | ||
fi | ||
|
||
#Install apricot magics (python3) | ||
if python3 -m pip install --find-links=file:apricot_magic/ apricot_magic/; then | ||
|
||
echo -e "magics succesfuly installed" | ||
|
||
else | ||
echo -e "Unable to install apricot magics with python3" | ||
fi |
Oops, something went wrong.