Wh00t
is a simple Python LAN chat server. wh00t_server
functions as part of the larger Wh00t project. This particular repository's purpose is to act as a chat room server.
To see wh00t_server
used on the bind_ui
go to the Bind repo and follow its README.
However, if you would like to run wh00t_server
outside of Bind
follow these instructions:
This project is managed with Poetry. With Poetry installed correctly, simply clone this project and install its dependencies:
- Clone repo
git clone https://github.com/roboto84/wh00t_server.git
cd wh00t_server
- Install dependencies
poetry install
-
You must create a
.env
file with the following environmental variables set:SERVER_PORT
: The port upon which you would like the server to listen to incoming client connections.
-
An explained
.env
file format is shown below:SERVER_PORT=<Server port number>
-
A typical
.env
file may look like this:SERVER_PORT=3001
- Run the script once the environment (
.env
) file is created:poetry run python wh00t_server/wh00t_server.py
The server logs are generated in the project's root directory's log folder.
Git commits follow Conventional Commits message style as explained in detail on their website.
wh00t_server icon created by Freepik - Flaticon