sbin/sync/settings.py.tmpl
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Fri, 30 Jan 2015 12:38:15 +0100
changeset 40 8c32ea41b391
parent 27 42e4b9c433cc
permissions -rw-r--r--
New version + Reworked login process to suppress unauthenticated request + reworked file persistence + added tests module and API tests + reworked how the list repositories user can access is generated (can now only access repositories that are both in his repository list AND in the config repository list, so there is no need to add every new user to all repositories)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
from fabric.api import env
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
# the user to use for the remote commands
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
env.user = 'user'
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
# the servers where the commands are executed
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
env.hosts = ['server']
42e4b9c433cc add deploy script
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
env.srv_venv_path = 'virtualenv folder path on host'