first commit
This commit is contained in:
commit
73fc2121bf
30 changed files with 13308 additions and 0 deletions
82
settings.py
Normal file
82
settings.py
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
from os import environ
|
||||
|
||||
SESSION_CONFIGS = [
|
||||
dict(
|
||||
name='test',
|
||||
app_sequence=['Task1'],
|
||||
completionlink='',
|
||||
use_captchas=0,
|
||||
num_demo_participants=5,
|
||||
context="test",
|
||||
),
|
||||
dict(
|
||||
name='prolific',
|
||||
app_sequence=['Start', 'Task1', 'Finish'],
|
||||
completionlink='https://app.prolific.com/submissions/complete?cc=C15TDZJ3',
|
||||
use_captchas = 1,
|
||||
num_demo_participants=6,
|
||||
estimated_completion_time=15,
|
||||
context="prolific",
|
||||
),
|
||||
dict(
|
||||
name='elfeonline',
|
||||
app_sequence=['Start', 'Task1', 'Finish'],
|
||||
elfecompletionlink = "https://qualtrics.ucl.ac.uk/jfe/form/SV_bKGyy84JJN8c7n8?",
|
||||
use_captchas = 1,
|
||||
num_demo_participants=6,
|
||||
estimated_completion_time=15,
|
||||
context="lab",
|
||||
),
|
||||
|
||||
]
|
||||
|
||||
# if you set a property in SESSION_CONFIG_DEFAULTS, it will be inherited by all configs
|
||||
# in SESSION_CONFIGS, except those that explicitly override it.
|
||||
# the session config can be accessed from methods in your apps as self.session.config,
|
||||
# e.g. self.session.config['participation_fee']
|
||||
|
||||
SESSION_CONFIG_DEFAULTS = dict(
|
||||
real_world_currency_per_point=1.00,
|
||||
participation_fee=2.50,
|
||||
participation_payment=2.50,
|
||||
bonus=3,
|
||||
min_bonus_payment=0,
|
||||
max_bonus_payment=20.00,
|
||||
min_payment=2.50,
|
||||
max_payment=2.50+20.00,
|
||||
currency_symbol='£',
|
||||
)
|
||||
|
||||
ROOMS = [
|
||||
dict(
|
||||
name='Test',
|
||||
display_name='Test',
|
||||
),
|
||||
dict(
|
||||
name='Prolific',
|
||||
display_name='Prolific',
|
||||
),
|
||||
dict(
|
||||
name='elfeonline',
|
||||
display_name='elfeonline',
|
||||
),
|
||||
]
|
||||
|
||||
PARTICIPANT_FIELDS = []
|
||||
SESSION_FIELDS = []
|
||||
|
||||
# ISO-639 code
|
||||
# for example: de, fr, ja, ko, zh-hans
|
||||
LANGUAGE_CODE = 'en'
|
||||
|
||||
# e.g. EUR, GBP, CNY, JPY
|
||||
REAL_WORLD_CURRENCY_CODE = 'GBP'
|
||||
USE_POINTS = True
|
||||
|
||||
ADMIN_USERNAME = 'admin'
|
||||
# for security, best to set admin password in an environment variable
|
||||
ADMIN_PASSWORD = 'templateadminpass'
|
||||
|
||||
DEMO_PAGE_INTRO_HTML = """ """
|
||||
|
||||
SECRET_KEY = '0112357121931'
|
||||
Loading…
Add table
Add a link
Reference in a new issue