Fabric tasks for setting up and managing my apps.
git clone https://github.com/jonathanmarmor/ops.git
cd ops
pip install -r requirements.txt
To install and serve the "centaur" application on on Ubuntu.
cd ops
fab -H <hostname> centaur.install
from fabric.api import env, task
from ops import centaur
env.user = 'ubuntu'
@task
def bootstrap_centaur():
# Do some stuff
centaur.install()
# Do some other stuff
If you want to make a set of fab tasks for managing another application, look at centaur.py as an example.