Parisson / TimeSide

scalable audio processing framework and server written in Python
https://timeside.ircam.fr/docs/
GNU Affero General Public License v3.0
372 stars 59 forks source link

Add websocket/redis node.js server #245

Closed brotobot closed 1 year ago

brotobot commented 3 years ago

Add node.js express socket.io server Connection with redis Use django rest api token for auth to websocket Listen redis messages :

yomguy commented 3 years ago

@clementgerard1 we have a privilege pb at runtime:

websockets_1  | > websockets@0.0.1 dev
websockets_1  | > npm install && babel-watch server.js
websockets_1  | 
websockets_1  | glob error [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
websockets_1  |   errno: -13,
websockets_1  |   code: 'EACCES',
websockets_1  |   syscall: 'scandir',
websockets_1  |   path: '/root/.npm/_logs'
websockets_1  | }

Trying USER root in websockets/Dockerfile doesn't fix it.