Revision daf4fb05
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
1 |
#coding=utf8 |
|
2 |
|
|
3 |
USE_X_FORWARDED_HOST = False |
|
4 |
|
|
5 |
# Either set local users here, or a remote host. |
|
6 |
# To disable local users set to None. |
|
7 |
AUTHENTICATION_USERS = { |
|
8 |
'0000': 'test', |
|
9 |
'0001': 'verigak', |
|
10 |
'0002': 'chazapis', |
|
11 |
'0003': 'gtsouk', |
|
12 |
'0004': 'papagian', |
|
13 |
'0005': 'louridas', |
|
14 |
'0006': 'chstath', |
|
15 |
'0007': 'pkanavos', |
|
16 |
'0008': 'mvasilak', |
|
17 |
'0009': 'διογένης' |
|
18 |
} |
|
19 |
|
|
20 |
# Where astakos is hosted. |
|
21 |
AUTHENTICATION_HOST = '127.0.0.1:10000' |
|
22 |
|
|
23 |
TEST = False |
b/snf-pithos-app/pithos/synnefo_settings.py | ||
---|---|---|
13 | 13 |
'pithos.middleware.SecureMiddleware', |
14 | 14 |
'pithos.middleware.UserMiddleware' |
15 | 15 |
] |
16 |
|
|
17 |
from pithos.api.settings import * |
|
18 |
from pithos.ui.settings import * |
b/snf-pithos-app/pithos/ui/settings.py | ||
---|---|---|
1 |
FEEDBACK_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>' |
|
2 |
FEEDBACK_CONTACT_EMAIL = 'support@pithos.grnet.gr' |
b/snf-pithos-app/setup.py | ||
---|---|---|
195 | 195 |
'console_scripts': [ |
196 | 196 |
], |
197 | 197 |
'synnefo': [ |
198 |
'default_settings = pithos.synnefo_settings', |
|
198 | 199 |
'web_apps = pithos.synnefo_settings:synnefo_installed_apps', |
199 | 200 |
'web_middleware = pithos.synnefo_settings:synnefo_middlewares', |
200 | 201 |
'urls = pithos.synnefo_settings:synnefo_urls' |
b/snf-pithos-backend/pithos/backends/settings.py | ||
---|---|---|
1 |
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL). |
|
2 |
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy' |
|
3 |
BACKEND_DB_CONNECTION = 'sqlite:///' + join(PROJECT_PATH, 'backend.db') |
|
4 |
|
|
5 |
# Block storage. |
|
6 |
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler' |
|
7 |
BACKEND_BLOCK_PATH = join(PROJECT_PATH, 'data/') |
|
8 |
|
|
9 |
# Default setting for new accounts. |
|
10 |
BACKEND_QUOTA = 50 * 1024 * 1024 * 1024 |
|
11 |
BACKEND_VERSIONING = 'auto' |
Also available in: Unified diff