Upgrade Guide
- Update the Mephisto library to v1.
- If you set up Mephisto using
pip install -e
, ensure you pull the latest version down from the git repo. - Or if you set up Mephisto using the pip wheel:
pip install Mephisto -U
- If you set up Mephisto using
- Ensure that your front-end code is using the latest packages, by running the following in your task's webapp folder.
npm install --save mephisto-task@2
npm install --save bootstrap-chat@2 # if applicable - For webapps using
mephisto-task
: Migrate any usage ofsendMessage
in your front-end code tosendLiveUpdate
. - Migrate your run scripts to use the newly introduced syntax, aimed to reduce boilerplate.
info
Optional: If you'd like to set up metrics, you can also run the CLI command: mephisto metrics install