mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 00:29:41 +00:00
Alpha release (#810)
* fix: path to resources * docs: rename aliases > url presets
This commit is contained in:
@@ -17,8 +17,7 @@ Ontime is an application for creating and managing event running order and timer
|
|||||||
The user inputs a list of events along with scheduling and event information.
|
The user inputs a list of events along with scheduling and event information.
|
||||||
This will then populate a series of screens which are available to be rendered by any device in the Network.
|
This will then populate a series of screens which are available to be rendered by any device in the Network.
|
||||||
|
|
||||||
This makes for a simple and cheap way to distribute over a venue using a network infrastructure instead of video
|
This makes for a simple and cheap way to distribute over a venue using a network infrastructure instead of video outputs.
|
||||||
outputs.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -39,7 +38,7 @@ You can then use the menu in the top left corner to select the desired view.
|
|||||||
The menu will be initially hidden until there is mouse interaction.
|
The menu will be initially hidden until there is mouse interaction.
|
||||||
|
|
||||||
In the case of unattended machines or automation, it is possible to use different URL to recall
|
In the case of unattended machines or automation, it is possible to use different URL to recall
|
||||||
individual views and extend view settings using the URL aliases feature
|
individual views and extend view settings using the URL presets feature
|
||||||
|
|
||||||
```
|
```
|
||||||
For the presentation views
|
For the presentation views
|
||||||
|
|||||||
@@ -52,7 +52,9 @@ if (import.meta.url) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// path to server src folder
|
// path to server src folder
|
||||||
export const srcDirectory = path.join(dirname(__dirname), '../');
|
const currentDir = dirname(__dirname);
|
||||||
|
// locally we are in src/setup, in the production build, this is a single file at src
|
||||||
|
export const srcDirectory = isProduction ? currentDir : path.join(currentDir, '../');
|
||||||
|
|
||||||
// resolve path to external
|
// resolve path to external
|
||||||
const productionPath = path.join(srcDirectory, '../../resources/extraResources/client');
|
const productionPath = path.join(srcDirectory, '../../resources/extraResources/client');
|
||||||
@@ -104,7 +106,6 @@ export const pathToStartDb = isTest
|
|||||||
? join(srcDirectory, '..', config.database.testdb, config.database.filename)
|
? join(srcDirectory, '..', config.database.testdb, config.database.filename)
|
||||||
: join(srcDirectory, '/preloaded-db/', config.database.filename);
|
: join(srcDirectory, '/preloaded-db/', config.database.filename);
|
||||||
|
|
||||||
// TODO: move all static files to the external directory
|
|
||||||
// path to public styles
|
// path to public styles
|
||||||
export const resolveStylesDirectory = join(externalsStartDirectory, config.styles.directory);
|
export const resolveStylesDirectory = join(externalsStartDirectory, config.styles.directory);
|
||||||
export const resolveStylesPath = join(resolveStylesDirectory, config.styles.filename);
|
export const resolveStylesPath = join(resolveStylesDirectory, config.styles.filename);
|
||||||
|
|||||||
Reference in New Issue
Block a user