2018-08-20 08:21:25 +00:00
|
|
|
from fabistrano import deploy
|
|
|
|
from fabric.api import env
|
|
|
|
|
2018-08-28 14:08:24 +00:00
|
|
|
env.hosts = ["jkydtjc@63.1.20.63"] # Replace with your host name or IP
|
2018-08-20 08:21:25 +00:00
|
|
|
env.base_dir = '/var/www' # Set to your app's directory
|
2018-08-28 14:15:49 +00:00
|
|
|
env.app_name = 'g214' # This will deploy the app to /www/app_name.com/
|
2018-08-28 14:08:24 +00:00
|
|
|
env.git_clone = 'http://baoliang:welcome1@git.eanbo.cn/xieshen/g214.git' # Your git url
|
|
|
|
env.remote_owner = 'jkydtjc'
|
2018-08-20 08:21:25 +00:00
|
|
|
env.remote_group = 'www-data'
|