Changeset 9817


Ignore:
Timestamp:
Dec 23, 2011, 8:09:30 AM (13 years ago)
Author:
rick
Message:

Special account, allowing some automation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/fabfile.py

    r9780 r9817  
    3030  code_dir = '/usr/local/django_gheat'
    3131  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')
    3434    sudo("apachectl -k graceful")
    3535 
     
    3737  code_dir = '/usr/local/django_gheat'
    3838  with cd(code_dir):
    39     sudo("svn up")
     39    sudo("svn up", user='wlrobot')
    4040    sudo("apachectl -k graceful")
    4141    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')
    4646    run("../genesis/tools/gformat.py full-export | ./manage.py import_nodes -")
Note: See TracChangeset for help on using the changeset viewer.