From ef1c0d8cc464c4072ea0ef7e0fb27336f6323ceb Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 2 Oct 2025 12:07:00 -0600 Subject: [PATCH 1/2] generalizes try-valkey, adds pyconafrica Signed-off-by: Kyle J. Davis --- .gitignore | 1 + content/try-valkey/_index.md | 9 +++++++++ content/try-valkey/index.md | 5 ----- content/try-valkey/pyconafrica-workshop.md | 11 +++++++++++ templates/valkey-try-me.html | 19 ++++++++++++++++--- 5 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 content/try-valkey/_index.md delete mode 100644 content/try-valkey/index.md create mode 100644 content/try-valkey/pyconafrica-workshop.md diff --git a/.gitignore b/.gitignore index e48acbda..67c342d3 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ _data/modules.json .vscode/* .idea/* tmp/* +static/debug diff --git a/content/try-valkey/_index.md b/content/try-valkey/_index.md new file mode 100644 index 00000000..a4689de0 --- /dev/null +++ b/content/try-valkey/_index.md @@ -0,0 +1,9 @@ ++++ +title = "Try Valkey" +template = "valkey-try-me.html" +[extra] +state_file = "https://download.valkey.io/try-me-valkey/8.1.0/states/state.bin.gz" +filesystem_base_url = "https://download.valkey.io/try-me-valkey/8.1.0/fs/alpine-rootfs-flat" +filesystem_base_fs = "https://download.valkey.io/try-me-valkey/8.1.0/fs/alpine-fs.json" ++++ + diff --git a/content/try-valkey/index.md b/content/try-valkey/index.md deleted file mode 100644 index bc1b04ba..00000000 --- a/content/try-valkey/index.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Try Valkey" -template = "valkey-try-me.html" -+++ - diff --git a/content/try-valkey/pyconafrica-workshop.md b/content/try-valkey/pyconafrica-workshop.md new file mode 100644 index 00000000..91222bee --- /dev/null +++ b/content/try-valkey/pyconafrica-workshop.md @@ -0,0 +1,11 @@ ++++ +title = "Try Valkey" +template = "valkey-try-me.html" +[extra] +state_file = "/debug//pyconafrica/states/tmux-cli-activated.bin.gz" +filesystem_base_url = "/debug/pyconafrica/fs/alpine-rootfs-flat" +filesystem_base_fs = "/debug/pyconafrica/fs/alpine-fs.json" ++++ + + +Howdy! \ No newline at end of file diff --git a/templates/valkey-try-me.html b/templates/valkey-try-me.html index b019d2be..5287bd7c 100644 --- a/templates/valkey-try-me.html +++ b/templates/valkey-try-me.html @@ -11,9 +11,13 @@ + {% if page %} + {{ page.content | markdown | safe }} + {% else %} Try Valkey

This is an in-browser Valkey server and CLI that runs directly within your browser using a V86 emulator, requiring no external installations.

Try it out below:

+ {% endif %} @@ -30,7 +34,11 @@