settings.sample.py

Tue, 12 Dec 2017 09:20:49 +0200

author
Victor Nicolae <victor.nicolae@inoe.ro>
date
Tue, 12 Dec 2017 09:20:49 +0200
changeset 7
415d034b0864
parent 0
a172f26a566a
permissions
-rw-r--r--

Package the script in a Python module.

ioannis@0 1 """ This file contains the user-specific settings for the scc_access script.
ioannis@0 2
ioannis@0 3 You should rename the file settings.sample.py to setting.py.
ioannis@0 4 """
ioannis@0 5
ioannis@0 6 # Add here the HTTP user name and password that is needed to access the SCC site.
ioannis@0 7 BASIC_LOGIN = ('username', 'password')
ioannis@0 8
ioannis@0 9 # Add here the user-name and password that is needed to log in to the SCC site.
ioannis@0 10 # It is recommended to use credential for a user without management privileges
ioannis@0 11 DJANGO_LOGIN = ('username', 'password')
ioannis@0 12
ioannis@0 13 # Change this to the directory to download the files
ioannis@0 14 OUTPUT_DIR = '/path/to/files/scc_output/'
ioannis@0 15
ioannis@0 16 # SCC base URL. Normally you shouldn't need to change that. You should change
ioannis@0 17 # this only if you want to use a different SCC installation e.g. a local version.
ioannis@0 18 BASE_URL = 'https://scc.imaa.cnr.it/'

mercurial