SydBal / confab

a tool for hosting your own communication hub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

confab

Setup

Minimum Prerequirements

  • Nodejs v16+

Instructions assume usage of yarn over npm

Install dependancies

yarn

Development server

Includes HMR, React Dev build

yarn dev

Webpage hosted at https://localhost:1337/

Socket server hosted at https://localhost:1338/

Production server

Not including HMR, React Prod build

yarn start

Webpage hosted at https://localhost:1337/

Socket server hosted at https://localhost:1338/

Docker

Build image

docker build -t confab .

Run in container

docker run -p 1337:1337 -p 1338:1338 confab

Command Line Arguments

Functionality defined in /utils/argv.js

ui-port

Port that vite will serve the ui assets to

Usage: yarn dev --ui-port=4242

Result: Site available at https://localhost:4242/

socket-port

Port that Socket.io will service sockets on

NOTE: default value will be (ui-port + 1)

ex: ui-port === 1337 :: socket-port === 1338

Usage: yarn dev --socket-port=4242

Result: Site available at https://localhost:1337/, automatically pointed to sockets on port 4242

About

a tool for hosting your own communication hub


Languages

Language:JavaScript 76.9%Language:CSS 19.5%Language:HTML 3.0%Language:Dockerfile 0.6%