Skip to content

Commit 6fd5fc1

Browse files
Merge pull request #75 from holly-cummins/demo-notes
Add better demo prep and notes
2 parents 7a8f110 + d07b6df commit 6fd5fc1

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

demo-script.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
1-
## Basic observability
1+
# A quick demo
22

3-
Run the application in the sample folder using `quarkus dev`.
3+
The key to a smooth demo is window management of the client.
4+
5+
## Start the client
6+
7+
```
8+
cd modded-minecraft
9+
./gradlew runClient
10+
```
11+
12+
On mac, either tile the minecraft client by option dragging, and then
13+
tile the browser, or make the client full screen and then use Mission Control to drag a browser window onto the client,
14+
which will bring up split screen. Use another desktop for the IDE and dev UI.
15+
If you forget, use `esc` to suspend the game while you arrange the window.
16+
17+
## Server
18+
19+
````shell
20+
cd sample
21+
quarkus dev
22+
````
423

524
Click 'd' to open the dev UI. Visit the Grafana dashboard, and then visit the Micrometer Prometheus Registry.
625
Hit the main app a few times, to generate load.
@@ -24,11 +43,23 @@ Open the application properties and change the animal type.
2443

2544
## Adding AI
2645

46+
But the information we get about events is kind of limited. Can we do better?
47+
2748
Open the config in the dev ui and fill in a model base URL, or uncomment the commented-config in application.properties.
2849

2950
It should switch to using an LLM to generate the creatures.
3051

52+
Show how it changes in response to prompt (for example, "Sit down" as a todo makes a sitting wolf.)
53+
Now we have information about user through the medium of creative wolf interpretation
54+
3155
Good items for the todos:
3256

3357
- Sit down (the wuff should sit)
3458
- Ghost (it should be a spectral stripe)
59+
60+
## Extended option: Start with basic observability
61+
62+
Run the application in the sample folder using `quarkus dev`.
63+
64+
Click 'd' to open the dev UI. Visit the Grafana dashboard, and then visit the Micrometer Prometheus Registry.
65+
Hit the main app a few times, to generate load.

0 commit comments

Comments
 (0)