Changes between Version 10 and Version 11 of SimpleBashScriptToSetupDevelopmentEnvironment
- Timestamp:
- Jun 4, 2006, 11:20:06 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SimpleBashScriptToSetupDevelopmentEnvironment
v10 v11 1 1 = Simple Bash Script To Setup Development Environment = 2 3 == Pure Python Script == 4 {{{ 5 #!/bin/sh 6 7 export DJANGO_PROJECT="$(basename `pwd`)" 8 export PYTHONPATH="$(dirname `pwd`)" 9 export DJANGO_SETTINGS_MODULE="${DJANGO_PROJECT}.settings" 10 11 ./script.py 12 }}} 2 13 3 14 Don't know why the '''sh''' wiki processor ain't workin', maybe the server doesn't have `enscript` installed, so here's a plain and not that neat view of the script: