Exemple #1
0
def migrate():
    execute(setup)
    with cd(latest_release_path()):
        run('%s manage.py migrate' % virtualenv_python_path())
Exemple #2
0
def setup():
    with cd(latest_release_path()):
        run('%s manage.py syncdb' % virtualenv_python_path())
Exemple #3
0
def migrate():
    execute(setup)
    with cd(latest_release_path()):
        run('%s manage.py migrate' % virtualenv_python_path())
Exemple #4
0
def setup():
    with cd(latest_release_path()):
        run('%s manage.py syncdb' % virtualenv_python_path())
Exemple #5
0
def restart():
    with cd(latest_release_path()):
        run('touch wsgi/playdoh.wsgi')
def restart():
    with cd(latest_release_path()):
        run('touch wsgi/playdoh.wsgi')