Created
March 7, 2017 08:02
-
-
Save jsindos/cdc243667dc75f1b5da2b39dd7ba8301 to your computer and use it in GitHub Desktop.
Bash scripts for running Accolade locally
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 | |
source ~/.virtualenvs/be_accolade/bin/activate | |
cd ~/code/be_accolade | |
osascript -e 'tell application "Terminal" | |
activate | |
tell application "System Events" to keystroke "t" using command down | |
repeat while contents of selected tab of window 1 starts with linefeed | |
delay 0.01 | |
end repeat | |
do script "source ~/scripts/virtual-env-accolade.sh" in window 1 | |
end tell | |
' | |
osascript -e 'tell application "Terminal" | |
activate | |
tell application "System Events" to keystroke "t" using command down | |
repeat while contents of selected tab of window 1 starts with linefeed | |
delay 0.01 | |
end repeat | |
do script "source ~/scripts/frontend-accolade-shell.sh" in window 1 | |
end tell | |
' | |
osascript -e 'tell application "Terminal" | |
activate | |
tell application "System Events" to keystroke "t" using command down | |
repeat while contents of selected tab of window 1 starts with linefeed | |
delay 0.01 | |
end repeat | |
do script "source ~/scripts/frontend-accolade.sh" in window 1 | |
end tell | |
' | |
osascript -e 'tell application "Terminal" | |
activate | |
tell application "System Events" to keystroke "t" using command down | |
repeat while contents of selected tab of window 1 starts with linefeed | |
delay 0.01 | |
end repeat | |
do script "source ~/scripts/frontend-accolade-test.sh" in window 1 | |
end tell | |
' | |
subl . | |
python manage.py runserver --settings=be_accolade.settings.local |
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 | |
cd ~/code/fe_accolade |
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 | |
cd ~/code/fe_accolade | |
npm run test-watch |
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 | |
cd ~/code/fe_accolade | |
subl . | |
npm run build-local |
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 | |
source ~/.virtualenvs/be_accolade/bin/activate | |
cd ~/code/be_accolade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment