Mercurial > code > home > repos > light9
changeset 2061:a415be4cfac4
timeline gets a launcher for vitejs server
author | drewp@bigasterisk.com |
---|---|
date | Mon, 16 May 2022 01:32:57 -0700 |
parents | 905cf827d750 |
children | d991f7c3485a |
files | bin/homepageConfig bin/timeline light9/networking.py light9/web/timeline/vite.config.ts show/dance2019/networking.n3 |
diffstat | 5 files changed, 27 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]
--- /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
--- 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'])
--- /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: {}, + }, +});
--- 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 <http://localhost:8211/>; :vidref <http://localhost:8212/>; :webServer <http://localhost:8200/>; + :timeline <http://localhost:8216/>; :collector <http://localhost:8202/>; :collectorZmq <http://localhost:8203/> . @@ -33,3 +34,4 @@ :rdfdb :urlPath "rdfdb" . :subServer :urlPath "subServer" . :vidref :urlPath "vidref" . +:timeline :urlPath "timeline" .