The idea of a combined app is that the frontend is built in JS and modern frameworks like React/Vue/Svelte, and the backend is written in Python. Databricks Apps can easily host such applications, but this requires some specifics in terms of how the app should be built and used.
- Databricks CLI configured
uvinstalledyarninstalled
To prepare the app for deployment, we need to:
- build the frontend
- prepare the wheel and put it into the
./requirements.txtas a reference
Take a look at build.py for the details.
- Run the deploy command for Databricks Bundles:
databricks bundle deploy -p <your-profile-name>- Run the app:
databricks bundle run knot -p <your-profile-name>