server/sbin/sync/settings.py.tmpl
author ymh <ymh.work@gmail.com>
Wed, 08 Jan 2020 17:49:53 +0100
changeset 205 147583c43f0d
parent 134 a84aa262847c
permissions -rw-r--r--
add poetry on sync

from fabric.api import env

#non specific settings
env.source_rel_path = 'server'

# 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 =  'ammico_xxx'