forked from ethanp/Django-AudioFiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
lkj.sh
executable file
·39 lines (30 loc) · 786 Bytes
/
lkj.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
# Created 4/4/14
# Ethan Petuchowski
case "$1" in
start )
source /Users/Ethan/Dropbox/CSyStuff/Conversation/venv/bin/activate
;;
pathit )
export PATH="${PATH}:~/Dropbox/CSyStuff/Conversation"
;;
credentials )
echo "Username: ethan, Password: 4321"
;;
stop )
deactivate
;;
syncdb )
python manage.py syncdb
;;
serve )
python manage.py runserver
;;
count )
cloc . --exclude-dir="venv"
;;
# even works for no args passed
* )
less /Users/Ethan/Dropbox/CSyStuff/Conversation/setupEnv.sh
exit 1
esac