# HG changeset patch
# User drewp@bigasterisk.com
# Date 1652689977 25200
# Node ID a415be4cfac4768d9477874adafcdbbf9a71d137
# Parent 905cf827d7504609ad35f34a60e409f4999d287b
timeline gets a launcher for vitejs server
diff -r 905cf827d750 -r a415be4cfac4 bin/homepageConfig
--- a/bin/homepageConfig Sun May 15 23:37:19 2022 -0700
+++ b/bin/homepageConfig Mon May 16 01:32:57 2022 -0700
@@ -51,7 +51,7 @@
if not path:
continue
server = server.rstrip('/')
- viteServer = server.replace('820', '830') # rewrite this please
+ viteServer = server.replace('82', '83') # rewrite this please
location(path, server, viteServer)
showPath = showconfig.showUri().split('/', 3)[-1]
diff -r 905cf827d750 -r a415be4cfac4 bin/timeline
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/timeline Mon May 16 01:32:57 2022 -0700
@@ -0,0 +1,3 @@
+#!/bin/zsh
+pnpx vite -c light9/web/timeline/vite.config.ts &
+wait
diff -r 905cf827d750 -r a415be4cfac4 light9/networking.py
--- a/light9/networking.py Sun May 15 23:37:19 2022 -0700
+++ b/light9/networking.py Mon May 16 01:32:57 2022 -0700
@@ -56,5 +56,6 @@
subComposer = ServiceAddress(L9['subComposer'])
subServer = ServiceAddress(L9['subServer'])
vidref = ServiceAddress(L9['vidref'])
+timeline = ServiceAddress(L9['timeline'])
patchReceiverUpdateHost = ServiceAddress(L9['patchReceiverUpdateHost'])
diff -r 905cf827d750 -r a415be4cfac4 light9/web/timeline/vite.config.ts
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/light9/web/timeline/vite.config.ts Mon May 16 01:32:57 2022 -0700
@@ -0,0 +1,20 @@
+import { defineConfig } from "vite";
+
+const servicePort = 8216;
+export default defineConfig({
+ base: "/timeline/",
+ root: "./light9/web/timeline",
+ publicDir: "../web",
+ server: {
+ host: "0.0.0.0",
+ strictPort: true,
+ port: servicePort + 100,
+ hmr: {
+ port: servicePort + 200,
+ },
+ },
+ clearScreen: false,
+ define: {
+ global: {},
+ },
+});
diff -r 905cf827d750 -r a415be4cfac4 show/dance2019/networking.n3
--- a/show/dance2019/networking.n3 Sun May 15 23:37:19 2022 -0700
+++ b/show/dance2019/networking.n3 Mon May 16 01:32:57 2022 -0700
@@ -18,6 +18,7 @@
:subServer ;
:vidref ;
:webServer ;
+ :timeline ;
:collector ;
:collectorZmq .
@@ -33,3 +34,4 @@
:rdfdb :urlPath "rdfdb" .
:subServer :urlPath "subServer" .
:vidref :urlPath "vidref" .
+:timeline :urlPath "timeline" .