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