Refactor Databricks Notebooks into modules.
- Set the following configurations on a cluster.
WSFS_ENABLE_WRITE_SUPPORT=true
- Also export the following environment variables either as a cluster config or on the shell.
API_URL=[fill in]
DB_TOKEN=[fill in]
- Clone this repo on the cluster.
- Runs
pip install -r requirements.txt
from the repo directory.
From this repo directory, make sure that script.sh has execute permission
chmod +x scripts/script.sh
then, run
./scripts/script.sh
Opens http://localhost:9999/docs
or http://localhost:9999/redoc