Skip to content

renardeinside/knot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knot - example of JS + Python on Databricks Apps

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.

Prerequisites

  • Databricks CLI configured
  • uv installed
  • yarn installed

Custom build hook

To prepare the app for deployment, we need to:

  1. build the frontend
  2. prepare the wheel and put it into the ./requirements.txt as a reference

Take a look at build.py for the details.

Deploying and running the app

  1. Run the deploy command for Databricks Bundles:
databricks bundle deploy -p <your-profile-name>
  1. Run the app:
databricks bundle run knot -p <your-profile-name>

About

Knot - example of JS + Python on Databricks Apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published