11 lines
476 B
Python
11 lines
476 B
Python
from fabistrano import deploy
|
|
from fabric.api import env
|
|
|
|
env.hosts = ["nut@210.72.82.249"] # Replace with your host name or IP
|
|
env.base_dir = '/var/www/production_env' # Set to your app's directory
|
|
env.app_name = 'newmediamonitoring' # This will deploy the app to /www/app_name.com/
|
|
env.git_clone = 'http://210.77.77.77/xieshen/newmediamonitoring.git' # Your git url
|
|
env.remote_owner = 'nut'
|
|
env.remote_group = 'www-data'
|
|
env.restart_cmd = 'sudo service apache2 restart'
|