From: Andrew Otto Date: Tue, 8 May 2012 20:19:07 +0000 (-0400) Subject: Adding fabfile.py X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=7f5d373759408e881da5ca3ab18b63d4e47168cf;p=limn-bak.git Adding fabfile.py --- diff --git a/fabfile.py b/fabfile.py new file mode 100644 index 0000000..a131926 --- /dev/null +++ b/fabfile.py @@ -0,0 +1,40 @@ +from fabric.api import * + +env.project_name = 'kraken-ui' + +env.roledefs = { + 'test': ['less.ly'], + 'production': ['reportcard2.pmtpa.wmflabs'], +} + + + +@task +def bundle(): + """Builds and bundles static files in tmp/dist for deployment.""" + pass + +@task +def fix_permissions(): + """Recursively fixes permissions on the deployment host.""" + pass + +@task +def update(): + """Runs git pull on the deployment host.""" + pass + +@task +def distribute(): + """Copies tmp/dist to deployment host.""" + pass + +@task +def restart_server(): + """Restarts node.js server on the deployment host.""" + pass + +@task +def deploy(): + """Full deployment of latest project""" + pass \ No newline at end of file