示例#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')