10-minute Quickstart
Install Docker and Docker Compose following their official documentation
Clone Mephisto repository with command:
git clone https://github.com/facebookresearch/Mephisto.git
Go into repo directory:
cd <repo_path>
Run you first example (a simple form-based task):
docker-compose -f docker/docker-compose.dev.yml run \
--build \
--publish 3001:3000 \
--rm mephisto_dc \
python /mephisto/examples/form_composer_demo/run_task__local__inhouse.pyAfter the script finishes building, in your console output you will see URLs like this:
localhost:3000/?worker_id=x&id=1
. Each URL represents a unit of your Task. Copy them one-by-one into your browser, changing port from3000
to3001
.After completing all units, you will see your task automatically shut down
Now we are ready to review Task results. Run command:
```shell
docker-compose -f docker/docker-compose.dev.yml run \
--build \
--publish 8081:8000 \
--rm mephisto_dc \
mephisto review_app --host 0.0.0.0 --port 8000
```and open TaskReview app in your browser at http://localhost:8081
Click on your Task name, and review the task units (that you have just completed yourself earlier).
Congratulations - you have just run and reviewed your very first task!
Next Steps
To understand how to customize Mephisto to your specific needs, we recommend these chapters: