Tested on Ubuntu 24.04 with X86 64 architecture.
git clone https://github.com/JManion32/cchat.git
There are 2 client platforms available:
Create a .env file in /bin/linux and add:
CCHAT_SERVER_HOST=cchat.fun
The server runs on port 5000. You can connect locally with either of the clients.
Create a .env file in /client_site and add:
VITE_GATEWAY_URL=ws://localhost:8080
Create a .env file in /bin/linux and add:
CCHAT_SERVER_IP=127.0.0.1
cd gateway
npm install
node gateway.js
cd client_site
npm install
npm run dev
Make the client GUI and server (root dir):
make
Cleanup .o files and executables from previous makes (root dir):
make clean
Make the native client GUI only:
make -C client_gui
Make the server only:
make -C server
Executables for the native GUI client and the server are found in bin/linux, and run with:
./server
./client
Though you may see conditional code execution that accomodates both Windows and Linux socket and threading libraries, it is incomplete. Only the React website client is currently supported on Windows.