예제 #1
0
파일: db.py 프로젝트: almet/webmaker.org
def migrate():
    execute(setup)
    with cd(latest_release_path()):
        run('%s manage.py migrate' % virtualenv_python_path())
예제 #2
0
파일: db.py 프로젝트: almet/webmaker.org
def setup():
    with cd(latest_release_path()):
        run('%s manage.py syncdb' % virtualenv_python_path())
예제 #3
0
def migrate():
    execute(setup)
    with cd(latest_release_path()):
        run('%s manage.py migrate' % virtualenv_python_path())
예제 #4
0
def setup():
    with cd(latest_release_path()):
        run('%s manage.py syncdb' % virtualenv_python_path())
예제 #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')