-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
hammy275 edited this page Nov 14, 2023
·
4 revisions
comp-status consists of 3 parts, central-server
, the server that processes all computer resource information and distributes it, server
s, the computers that send their resource information to central-server
, and client
s that access the data.
central-server
Setup:
NOTE: This should be done before the setup of either server
or client
- Download the repository using
git clone https://github.com/hammy275/comp-status
inside the folder where you want to store the central-server files - Port forward the port you would like to host the server on.
- If using Let's Encrypt, follow the instructions using Certbot to get a certificate.
- Install Node.js, enter the
comp-status/client/react-ui
directory, and runnpm install
followed bynpm run build
. - Run
run_server.py
if using a Let's Encrypt certificate orapp.py
if you're not. - Follow the instructions printed in the console to use the web-based first time setup.
server
Setup:
- Download the repository using
git clone https://github.com/hammy275/comp-status
inside the folder where you want to store the server files - Run
main.py
inside ofcomp-status/server
and follow the instructions - Configure
main.py
to run from its directory at boot through whatever means your operating system provides
client
Setup:
- Visit the URL of the central server (including the port if not using port 80) in your browser
- Enter the IP address and port of the central server, along with a registered username and password.