Deploying locally
Deploy the OpenPredict API locally
Requirements: Python 3.8+ and pip
installed
- Clone the repository:
- Pull the data required to run the models in the
data
folder withdvc
:
Start the API in development mode with docker on http://localhost:8808, the API will automatically reload when you make changes in the code:
Contributions are welcome! If you wish to help improve OpenPredict, see the instructions to contribute :woman_technologist: for more details on the development workflow
Test the OpenPredict API
Run the tests locally with docker:
See the
TESTING.md
file for more details on testing the API.
You can change the entrypoint of the test container to run other commands, such as training a model: