Changeset - a415be4cfac4
[Not reviewed]
default
0 3 2
drewp@bigasterisk.com - 3 years ago 2022-05-16 08:32:57
drewp@bigasterisk.com
timeline gets a launcher for vitejs server
5 files changed with 27 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/homepageConfig
Show inline comments
 
@@ -51,7 +51,7 @@ for role, server in sorted(graph.predica
 
    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]
bin/timeline
Show inline comments
 
new file 100755
 
#!/bin/zsh
 
pnpx vite -c light9/web/timeline/vite.config.ts &
 
wait
light9/networking.py
Show inline comments
 
@@ -56,5 +56,6 @@ rdfdb = ServiceAddress(L9['rdfdb'])
 
subComposer = ServiceAddress(L9['subComposer'])
 
subServer = ServiceAddress(L9['subServer'])
 
vidref = ServiceAddress(L9['vidref'])
 
timeline = ServiceAddress(L9['timeline'])
 

	
 
patchReceiverUpdateHost = ServiceAddress(L9['patchReceiverUpdateHost'])
light9/web/timeline/vite.config.ts
Show inline comments
 
new file 100644
 
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: {},
 
  },
 
});
show/dance2019/networking.n3
Show inline comments
 
@@ -18,6 +18,7 @@ sh:netHome
 
  :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 @@ sh:netHome
 
:rdfdb            :urlPath "rdfdb" .
 
:subServer        :urlPath "subServer" .
 
:vidref           :urlPath "vidref" .
 
:timeline         :urlPath "timeline" .
0 comments (0 inline, 0 general)