Warning This is the work-in-progress UI for AIP-38. The current UI can be found in www.
To communicate with the API you need to adjust some environment variables for the webserver and this UI.
Be sure to allow CORS headers and set up an auth backend on your Airflow instance.
export AIRFLOW__API__AUTH_BACKENDS=airflow.api.auth.backend.basic_auth export AIRFLOW__API__ACCESS_CONTROL_ALLOW_HEADERS=* export AIRFLOW__API__ACCESS_CONTROL_ALLOW_METHODS=* export AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGIN=http://127.0.0.1:28080
Create your local environment and adjust the WEBSERVER_URL
if needed.
cp .env.example .env
Clone the repository and use the package manager yarn to install dependencies and get the project running.
yarn install
yarn start
Other useful commands include:
yarn lint
yarn test
Be sure to check out our contribution guide