Created
July 18, 2014 17:14
-
-
Save brylor/71f1b798922f8424bf26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from fabric.api import * | |
env.roledefs = {"test":["test-server-01"], | |
"production":["production-server"]} | |
def deploy(): | |
code_dir = '/var/www/html/RTV2' | |
sudo("git clone https://github.com/coolstory/RTV2.git %s" % code_dir) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment