docs: tell how to launch true headless (fixes #41)
This commit is contained in:
parent
7951afc482
commit
d559d899e3
1 changed files with 11 additions and 0 deletions
|
|
@ -119,3 +119,14 @@ $ npm run debarm
|
|||
This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
|
||||
|
||||
*Please note that building the app for windows from a linux system requires wine to be installed.*
|
||||
|
||||
----
|
||||
## Running a true headless server
|
||||
|
||||
Electron, Open Stage Control's engine, is based on chromium and can't run out of the box without a display server. However, using a virtual framebuffer does the trick. Detailed instructions can be found in Electron's [documentation](http://electron.atom.io/docs/tutorial/testing-on-headless-ci/).
|
||||
|
||||
In short: install `https://github.com/jean-emmanuel/open-stage-control/issues/xfvb` and prepend your command with `xvfb-run`:
|
||||
|
||||
```bash
|
||||
xvfb-run open-stage-control -n
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue