Changeset 9817
- Timestamp:
- Dec 23, 2011, 8:09:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/fabfile.py
r9780 r9817 30 30 code_dir = '/usr/local/django_gheat' 31 31 with cd(code_dir): 32 sudo("svn up" )33 sudo("./manage.py collectstatic --noinput" )32 sudo("svn up", user='wlrobot') 33 sudo("./manage.py collectstatic --noinput", user='wlrobot') 34 34 sudo("apachectl -k graceful") 35 35 … … 37 37 code_dir = '/usr/local/django_gheat' 38 38 with cd(code_dir): 39 sudo("svn up" )39 sudo("svn up", user='wlrobot') 40 40 sudo("apachectl -k graceful") 41 41 run("./manage.py sqlreset gheat | ./manage.py dbshell") 42 sudo("./import_scan_data.sh" )43 sudo("svn up ../genesis" )44 sudo("../genesis/tools/genesis-to-yaml.pl" )45 sudo("../genesis/tools/gformat.py cleanup" )42 sudo("./import_scan_data.sh", user='wlrobot') 43 sudo("svn up ../genesis", user='wlrobot') 44 sudo("../genesis/tools/genesis-to-yaml.pl", user='wlrobot') 45 sudo("../genesis/tools/gformat.py cleanup", user='wlrobot') 46 46 run("../genesis/tools/gformat.py full-export | ./manage.py import_nodes -")
Note:
See TracChangeset
for help on using the changeset viewer.