You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,3 +67,20 @@ will run all the builds and then start the app project. In order to make this wo
67
67
```
68
68
DATABRICKS_HOST=
69
69
```
70
+
71
+
## Deploying the playground app
72
+
73
+
The playground app can be deployed to Databricks using the following command:
74
+
75
+
```bash
76
+
pnpm pack:sdk
77
+
pnpm deploy:playground
78
+
```
79
+
80
+
You can set the following environment variables to the command to customize the deployment:
81
+
82
+
```bash
83
+
export DATABRICKS_PROFILE=your-profile # Databricks profile name. Used as a Databricks CLI profile argument whenever a command is executed.
84
+
export DATABRICKS_APP_NAME=your-app-name # The name of the app to deploy. If not provided, it will be prefixed with the username.
85
+
export DATABRICKS_WORKSPACE_DIR=your-workspace-dir # The source workspace directory to deploy the app from. It will be used to construct the absolute path: /Workspace/Users/{your-username}/{workspace-dir}
0 commit comments