Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 0.776 kb
Fab commands for ffs
from fabric.api import task, hosts, local, lcd, cd, run
from fabric import operations
deadpan = ''
def test():
Run our unittests
local('python -m pytest test')
def make_docs():
Rebuild the documentation
with lcd('doc/'):
local('make html')
def upload_docs():
Build, compress, upload and extract the latest docs
with lcd('doc/build/html'):
local('rm -rf ffsdocs.tar.gz')
local('tar zcvf ffsdocs.tar.gz *')
operations.put('ffsdocs.tar.gz', '/home/happenup/webapps/ffsdocs/ffsdocs.tar.gz')
with cd('/home/happenup/webapps/ffsdocs/'):
run('tar zxvf ffsdocs.tar.gz')
Jump to Line
Something went wrong with that request. Please try again.