Set up the virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Then run the server
uvicorn connector_builder.entrypoint:app --host 0.0.0.0 --port 8080
The server is now reachable on localhost:8080
Update the airbyte-connector-builder-resources/CDK_VERSION
file to point to the target version.
This will make sure both this project and the webapp depending on it will stay in sync.
Run it via Gradle by running this from the Airbyte project root:
./gradlew :airbyte-connector-builder-server:generateOpenApiPythonServer
In order to use pip-compile
, make sure you install pip-tools using pip install pip-tools
.
Application dependencies
pip-compile
Test dependencies
pip-compile --extra tests --output-file requirements-tests.txt