server/sbin/sync/settings.py.tmpl
author ymh <ymh.work@gmail.com>
Sun, 07 Jun 2015 22:54:08 +0200
changeset 119 3922b186a5b2
parent 118 fea47f1054e2
child 121 cc05aad7e6b8
permissions -rw-r--r--
improve setup

from fabric.api import env


# the user to use for the remote commands
env.user = 'user'
# the servers where the commands are executed
env.hosts = ['server']
env.srv_venv_path = 'virtualenv folder path on host'
env.srv_restart_cmd = '<restart cmd>'
env.srv_python_location = ''
env.srv_config_path = '<path for config>'
env.srv_django_settings_module =  'prod_ammico'