The Opentrons AI application helps you to create a protocol with natural language.
To get started: clone the Opentrons/opentrons
repository, set up your computer for development as specified in the contributing guide, and then:
# change into the cloned directory
cd opentrons
# prerequisite: install dependencies as specified in project setup
make setup
# if you have done the setup already, you can run the following instead of make setup
make teardown-js && make setup-js
# launch the dev server
make -C opentrons-ai-client dev
The UI stack is built using:
Some important directories:
- opentrons-ai-server — Opentrons AI application's server
We use i18next for copy management and internationalization.
Tests for the Opentrons App are run from the top level along with all other JS project tests.
make test-js
- Run all JavaScript tests
Test tasks can also be run with the following arguments:
Argument | Default | Description | Example |
---|---|---|---|
watch | false |
Run tests in watch mode | make test-unit watch=true |
cover | !watch |
Calculate code coverage | make test watch=true cover=true |
TBD