Follow these steps to deploy the interface to Heroku
- Press the button below to begin. If you don't have a Heroku account you will be able to create one first.
-
Enter a name for your app. This will also be the url to the interface in the form of appName.herokuapp.com.
-
Enter your mTurk credentials (Id + secret). Save this for later.
-
Choose an admin password for the interface.
-
Press "Deploy app".
After a few minutes our app along with a database instance should be created. We now just need to create a database and user in the instance and restart the app. Click "Manage App".
-
In the app dashboard, click on the database add-on "ObjectRocket for MongoDB". This should open up another dashboard for managing the database.
-
Open the databases tab and press "Add database".
-
For the database name and username use "interface". For password, use your AWS secret again. Press "add database".
We now have our user + database and need to restart the app.
-
Switch back to the Heroku app dashboard.
-
Press "more" followed by "Restart all dynos".
After a few minutes the app should be up and running at appName.herokuapp.com/admin.
Good luck!
❗️ WARNING, this will delete the database, all experiment data will be lost.
-
To delete the app, open the settings tab in the Heroku app dashboard.
-
Click the red Delete app button at the bottom.