socket.io-computer: Anniversary Edition
(facade version of socket.computer because the real thing is so terrible)
.yarn | ||
backend | ||
jpeg-rs | ||
shared | ||
webapp | ||
.editorconfig | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
.yarnrc.yml | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
socket.io-computer: Anniversary Edition
socket.computer, except not powered by socket.io anymore, and with many less bugs. This monorepo builds
- The backend
- Shared components
- The webapp (TODO)
Building
$ yarn
$ yarn build:service # Build the service
$ yarn build:frontend # Build the webapp
Hosting
TODO
- Edit
webapp/src/index.ts
to point the websocket URL to an appopiate place - Build the service and the webapp (tip, see the above section)
- copy
webapp/dist
(excl..map
files) to an applicable webroot - Run the backend, optionally with systemd service things (MAKE SURE TO SET NODE_ENV TO PRODUCTION.) (also proxy it for wss please)
... profit?