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
#!/bin/bash | |
if [ -z "$(byobu list-sessions | grep code)" ] | |
then | |
byobu-tmux new-session -d #-t code # creates a new detached Byobu session | |
# Jupyter Window | |
byobu-tmux rename-window jupyter # Byobu comes up with one window, so rename that | |
byobu-tmux send-keys -t 0 'zsh' 'C-m' | |
byobu-tmux send-keys -t 0 'PYTHONHOME=$HOME jupyter notebook --no-browser --ip pc-p561' 'C-m' |
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
121a122,124 | |
> this.log('Upgrading pip inside the container.') | |
> this.runProcess('docker', ['exec', this.containerName, 'pip', 'install', '--upgrade', 'pip']) | |
> this.log('Pip upgrade finished.') | |
166a170,187 | |
> loadEnvVars() { | |
> let pythonPath = '' | |
> if (this.globalIncludes) { | |
> this.log(`Adding global includes to the python path: ${this.globalIncludes}`) | |
> pythonPath += `:${this.globalIncludes}` |
OlderNewer