from os import environ
# 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']
AWS_ACCESS_KEY_ID = environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = environ.get('AWS_SECRET_ACCESS_KEY')
SANDBOX = environ.get('SANDBOX')
SESSION_CONFIG_DEFAULTS = dict(
real_world_currency_per_point=1.00,
participation_fee=0.00,
doc=""
)
mturk_hit_settings = dict(
keywords='bonus, study',
title='Title for your experiment',
description='Description for your experiment',
frame_height=500,
template='global/mturk_template.html',
minutes_allotted_per_assignment=60,
expiration_hours=7 * 24,
qualification_requirements=[]
I added AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to system variables but not on heroku yet (becouse I want to test locally).
My questions:
1. When I create locall Mturk session I have message that I didn't set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Do I miss something?
2. How to set up Sandbox locally?
Thank you in advance.