{"id":29222408,"url":"https://github.com/renardeinside/dais-2025-databricks-apps","last_synced_at":"2025-08-18T23:08:32.476Z","repository":{"id":298405709,"uuid":"997532161","full_name":"renardeinside/dais-2025-databricks-apps","owner":"renardeinside","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-01T18:53:20.000Z","size":107,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T19:41:41.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renardeinside.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-06T17:33:04.000Z","updated_at":"2025-07-01T18:53:23.000Z","dependencies_parsed_at":"2025-06-11T00:33:28.562Z","dependency_job_id":"009147b9-6c4d-492d-af16-20988d7e70ae","html_url":"https://github.com/renardeinside/dais-2025-databricks-apps","commit_stats":null,"previous_names":["renardeinside/dais-2025-databricks-apps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renardeinside/dais-2025-databricks-apps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renardeinside%2Fdais-2025-databricks-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renardeinside%2Fdais-2025-databricks-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renardeinside%2Fdais-2025-databricks-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renardeinside%2Fdais-2025-databricks-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renardeinside","download_url":"https://codeload.github.com/renardeinside/dais-2025-databricks-apps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renardeinside%2Fdais-2025-databricks-apps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271073387,"owners_count":24694538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-03T03:30:50.015Z","updated_at":"2025-08-18T23:08:32.448Z","avatar_url":"https://github.com/renardeinside.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DAIS 2025 - Databricks Apps Training session\n\n## Local setup\n\n\n1. Step into the project directory:\n   ```bash\n   cd ~/dais-2025-databricks-apps\n   ```\n\n1. Run `uv sync` to install the required dependencies\n3. Create a new `.env` file in the project directory and add the following variables:\n   - `DAIS_2025_APPS_DBSQL_HTTP_PATH`: the HTTP path for Databricks SQL endpoint, copy it from the Workspace UI\n   - `DAIS_2025_APPS_GENIE_SPACE_ID`: create a Genie space in your Databricks workspace and copy the space ID here\n4. Authenticate with Databricks CLI:\n   ```bash\n   databricks configure --host=\u003cworkspace-url\u003e\n   ```\n\n**Please make sure that you have the latest version of Databricks CLI and it's configured correctly**.\n\nTo check validity of configuration, please run:\n\n```\ndatabricks auth describe\n```\n\n## Run the app locally\n1. Make sure you have the `.env` file created with the required variables\n2. Make sure you're in the project directory:\n   ```bash\n   cd ~/dais-2025-databricks-apps\n   ```\n3. Run the app:\n   ```bash\n   uv run streamlit run src/dais_2025_databricks_apps/app.py\n   ```\n\n\n## Deploy the app to Databricks\n1. Make sure you have Databricks CLI installed and configured\n2. Deploy the app:\n   ```\n   databricks bundle deploy \\\n      --var='dbsql_http_path=XXXX' \\\n      --var='genie_space_id=YYYY' \n   ```\n3. Configure the app permissions in the workspace:\n   - provide the App SP with access to the Genie space you created earlier (`CAN_RUN` )\n4. Run the app:\n   ```\n   databricks bundle run dais2025-app \\\n      --var='dbsql_http_path=XXXX' \\\n      --var='genie_space_id=YYYY' \n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenardeinside%2Fdais-2025-databricks-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenardeinside%2Fdais-2025-databricks-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenardeinside%2Fdais-2025-databricks-apps/lists"}