{% extends "otree/admin/Session.html" %} {% load otree_tags floppyforms %} {% block internal_scripts %} {{ block.super }} {% endblock %} {% block content %} {{ block.super }} {% if not mturk_ready %}

MTurk is currently disabled. If you want to publish your HIT on MTurk please do the following steps:

Step Done?
Run pip3 install otree-core[mturk] and in your requirements_base.txt, replace otree-core==N.N.N with otree-core[mturk]==N.N.N. This will install oTree along with extra MTurk-specific packages. {% if boto3_installed %}Yes{% else %}No{% endif %}
Set the settings AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY {% if aws_keys_exist %}Yes{% else %}No{% endif %}
(If running locally, not required on Heroku) restart the server with otree runprodserver --dev-https, and access this page via secured url {{ secured_url }} {% if https %}Yes{% else %}No{% endif %}

You can read more about Amazon Mechanical Turk integration here.

{% else %}
{% csrf_token %} {% if not session.mturk_HITId %} {% form form using "floppyforms/layouts/bootstrap.html" %} {% else %}

You have published HIT for this session on MTurk {% if session.mturk_use_sandbox %} Sandbox {% endif %} .

To look at the HIT as requester follow this link.
To look at the HIT as a worker follow this link.

{% endif %}
{% endif %} {% include "otree/includes/messages.html" %} {% endblock %}