mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Chat history prototype (#10278)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
36231619db
commit
09bb0e61b3
7
tools/alwayson-backend/.env.example
Normal file
7
tools/alwayson-backend/.env.example
Normal file
@@ -0,0 +1,7 @@
|
||||
# PLEASE REFER TO THE SCHEMA IN THE MAIN REPOSITORY
|
||||
# TO KNOW WHERE THE TABLES ARE AT (chatlogs / ckeys)
|
||||
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=50000
|
||||
|
||||
DBCONFIG_PATH=/opt/myserver/config/dbconfig.txt
|
||||
12
tools/alwayson-backend/README
Normal file
12
tools/alwayson-backend/README
Normal file
@@ -0,0 +1,12 @@
|
||||
The libvchatlog.so/vchatlog.dll file will fetch the required database credentials automatically from the
|
||||
config/dbconfig.txt if the chatlogging database backend was enabled.
|
||||
|
||||
For the alwayson-backend you will have to create some kind of service to keep it running. With the supplied
|
||||
.env.example you are able to set the port of the API. The configured chatlogging API URL (where you also turn it on)
|
||||
you will have to supply the correct ip-address/domain and port on where this API is reachable.
|
||||
|
||||
For this you can set the DBCONFIG_PATH environment variable (or use the .env.example) to the exact path of the config/dbconfig.txt.
|
||||
|
||||
|
||||
|
||||
Do not forget to rename .env.example to .env of course, if you want to use a file.
|
||||
BIN
tools/alwayson-backend/alwayson-backend
Executable file
BIN
tools/alwayson-backend/alwayson-backend
Executable file
Binary file not shown.
BIN
tools/alwayson-backend/alwayson-backend.exe
Normal file
BIN
tools/alwayson-backend/alwayson-backend.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user