- Install Pipenv for Python 3.6+.
Setup and enter the Python virtual environment.
$ pipenv shell --three
$ pipenv install --dev --skip-lock
Export the CommCare credentials to the environment.
$ export COMMCARE_USERNAME=...
$ export COMMCARE_PASSWORD=...
Run the FastAPI development server in the Python virtual environment.
$ ./dev-server.sh
You can view the OpenAPI exported docs at localhost:8000/docs
.