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
- use your preferred approach to starting a new python environment
6
6
- in that environment, `pip install -r dev/dev_requirements.txt`
7
+
8
+
## Updating website content
9
+
To test updates to site content at ai-cookbook.io
7
10
- build and preview the site with `jupyter-book build --all genai_cookbook`
8
11
9
12
The homepage is at `genai_cookbook/index.md`
10
13
11
14
The content pages are in `genai_cookbook/nbs/`
12
15
13
16
Jupyter book is fairly flexible and offers a lot of different options for formatting, cross-referencing, adding formatted callouts, etc. Read more at the [Jupyter Book docs](https://jupyterbook.org/en/stable/intro.html).
17
+
18
+
## Updating code
19
+
Use the `databricks sync` CLI command ([docs](https://docs.databricks.com/en/dev-tools/cli/sync-commands.html)) to sync the code in this repo to
20
+
your Databricks workspace. You can then iterate on code in your IDE and test changes in
21
+
Databricks. Be sure to add unit tests (as of the time of writing, tests are under `agent_app_sample_code/tests`).
0 commit comments