2019-09-05 09:21:59 +00:00
|
|
|
from fabistrano import deploy
|
|
|
|
from fabric.api import env
|
|
|
|
|
|
|
|
env.hosts = ["g214@210.77.68.250"] # Replace with your host name or IP
|
|
|
|
env.base_dir = '/var/www/p3' # Set to your app's directory
|
|
|
|
env.app_name = 'linbei' # This will deploy the app to /www/app_name.com/
|
2020-03-09 06:49:31 +00:00
|
|
|
env.git_clone = 'http://210.77.77.77/xieshen/linbei.git' # Your git url
|
2019-09-05 09:21:59 +00:00
|
|
|
env.remote_owner = 'g214'
|
|
|
|
env.remote_group = 'www-data'
|
|
|
|
env.restart_cmd = 'sudo service apache2 restart'
|