10 lines
414 B
Python
10 lines
414 B
Python
from fabistrano import deploy
|
|
from fabric.api import env
|
|
|
|
env.hosts = ["jkydtjc@63.1.20.63"] # Replace with your host name or IP
|
|
env.base_dir = '/var/www' # Set to your app's directory
|
|
env.app_name = 'g214_django' # This will deploy the app to /www/app_name.com/
|
|
env.git_clone = 'http://baoliang:welcome1@git.eanbo.cn/xieshen/g214.git' # Your git url
|
|
env.remote_owner = 'jkydtjc'
|
|
env.remote_group = 'www-data'
|