from os import environ SESSION_CONFIGS = [ dict( name='multiply', display_name="multiply app", num_demo_participants=3, app_sequence = ['multiply'] ), dict( name='real_effort', display_name="Add up two numbers", num_demo_participants=3, app_sequence=['real_effort'] ), dict( name='prisoners', display_name="prisoners", num_demo_participants=4, app_sequence=['prisoners'] ), dict( name='public_goods_templates', num_demo_participants=4, app_sequence=['public_goods_templates'] ), dict( name='prisoners_dilemma_advanced_templates', num_demo_participants=4, app_sequence=['prisoners_dilemma_advanced_templates'] ), dict( name='divide_numbers_treatments', num_demo_participants=4, app_sequence=['divide_numbers_treatments'] ), dict( name='live_page_accept_offer', num_demo_participants=2, app_sequence=['live_page_accept_offer'] ), dict( name='investment_validation', num_demo_participants=2, app_sequence=['investment_validation'] ), dict( name='Real_Effort_Letter_number', num_demo_participants=2, app_sequence=['Real_Effort_Letter_number'] ), ] # 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=0.00, doc="" ) 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 = 'USD' USE_POINTS = True ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '6362928493236'