MCPcopy Create free account
hub / github.com/gotify/server / startGotify

Function startGotify

ui/src/tests/setup.ts:125–138  ·  view source on GitHub ↗
(filename: string, port: number, pluginDir: string)

Source from the content-addressed store, hash-verified

123};
124
125const startGotify = (filename: string, port: number, pluginDir: string): ChildProcess => {
126 const gotify = spawn(filename, [], {
127 env: {
128 GOTIFY_SERVER_PORT: '' + port,
129 GOTIFY_DATABASE_CONNECTION: 'file::memory:?mode=memory&cache=shared',
130 GOTIFY_PLUGINSDIR: pluginDir,
131 NODE_ENV: process.env.NODE_ENV,
132 PUBLIC_URL: process.env.PUBLIC_URL,
133 },
134 });
135 gotify.stdout.pipe(process.stdout);
136 gotify.stderr.pipe(process.stderr);
137 return gotify;
138};

Callers 1

newTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…