senses-smartmirror
senses-smartmirror copied to clipboard
Headless option
I am trying to run on a headless install (currently Ubuntu) but I think that the electron service is trying to run a browser service and fails.
I would like to be able to launch the server on its own so that it can be accessed across the network without a local browser.
When i installed via bash
-c "$(curl -sL https://raw.githubusercontent.com/senses-smart-mirror/senses-scripts/main/lib/raspberry-pi-install.sh)"
Then navigate to server folder and run
npm run start
The following error is shown:
[email protected] start tsc --watch -p tsconfig.json
error TS5058: The specified path does not exist: 'tsconfig.json'.
Config: Ubuntu 22.04 Electron v18.01
Ideally senses could have a server only install so that it can be accessed remotely.
Hi @zxsteve-dev,
To run the server only please use: node app.js
from the server folder on Ubuntu. This should start the server and the (mobile) webapp only.
Please note that this will start the GUI. In order to run the GUI separately we need to do something else. We can discuss this.