andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

Run services locally #52

Closed andrewn closed 6 years ago

andrewn commented 6 years ago

⚠️ This requires #51 to be merged for it to work without crashing.

This uses foreman to run a subset of the services on a non-raspbian computer.

A root package.json is used to load the simon-say speech server and foreman (a fork is used that works with node 8 until this bug is fixed).

Running npm start from the root runs the manager-web-server, manager (launching Chrome), debug, downloader, simon-say and the speech service.

We had discussed having the speech service taking a COMMAND env var for starting speech-dispatcher and simon-say and ensuring the listen on the same socket path. I'll take a look at this in a subsequent PR.