Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshuaestes/fabfiles
This is a collection of fabric files used for various different projects
https://github.com/joshuaestes/fabfiles
Last synced: 1 day ago
JSON representation
This is a collection of fabric files used for various different projects
- Host: GitHub
- URL: https://github.com/joshuaestes/fabfiles
- Owner: JoshuaEstes
- Created: 2011-09-23T19:40:58.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-30T02:40:21.000Z (almost 13 years ago)
- Last Synced: 2024-11-08T05:41:49.476Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fabfiles
========This is a library of files that allow you to use fabric with various projects you already have
Installation
============cd ~
git clone git://github.com/JoshuaEstes/fabfiles.git
cd /var/www/website
ln -s ~/fabfiles/magento.py ~+/The above example is for magento projects. Next you will need to create a fabfile.py
vi fabfile.py
Now enter some content in fabfile.py
from fabric.api import *
import magento# The path we use to push code to
env.deploy_to = '/path/to/magento';@task
def beta():
"Set the servers"
env.hosts = ['[email protected]:port']@task
def production():
"Set the production servers"
env.hosts = ['[email protected]:port']Now save and exit vim, run fab -l to view a list