Changeset 9780


Ignore:
Timestamp:
Dec 14, 2011, 7:51:43 PM (13 years ago)
Author:
rick
Message:

Allow easy deployment of file updates...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/fabfile.py

    r9749 r9780  
    99
    1010env.shell = "/bin/sh -c"
     11
     12env.hosts = ['sunfire.wirelessleiden.nl']
    1113
    1214def hello():
     
    2426  local("../genesis/tools/gformat.py cleanup")
    2527  local("../genesis/tools/gformat.py full-export | ./manage.py import_nodes -")
     28
     29def refresh():
     30  code_dir = '/usr/local/django_gheat'
     31  with cd(code_dir):
     32    sudo("svn up")
     33    sudo("./manage.py collectstatic --noinput")
     34    sudo("apachectl -k graceful")
    2635 
    2736def deploy():
Note: See TracChangeset for help on using the changeset viewer.