From 288069a780b1236157e3acb1e4f184dab331f343 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Tue, 13 Jun 2023 15:26:08 +0200 Subject: [PATCH] Adapt scripts and doc --- README.md | 20 +++++++++++++++----- run.bat => standalone.bat | 0 2 files changed, 15 insertions(+), 5 deletions(-) rename run.bat => standalone.bat (100%) diff --git a/README.md b/README.md index 91ab105..4847b66 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ ``` . ├── pairgoth.properties.example ............... Executable property file to instanciate -├── debug.sh .................................. Executable debug script, linux -├── debug.bat ................................. Executable debug script, windows -├── run.sh .................................... Executable run script, linux -├── run.bat ................................... Executable run script, windows +├── standalone.sh ............................. Executable run script, linux +├── standalone.bat............................. Executable run script, windows +├── server.sh.................................. Server debugging script, linux +├── client.sh.................................. Web client debugging script, linux ├── test.sh ................................... Executable test script, linux ├── application ............................... Executable final packaging ├── webserver ................................. Web container @@ -49,10 +49,12 @@ You need maven installed. Copy and adapt `pairgoth.properties.example` towards `pairgoth.properties`, if needed. Otherwise pairgoth will use default properties (TODO - list them) -Just running `./run.sh` or `./run.bat` shoud build and run the engine . +Just running `./standalone.sh` or `./standalone.bat` shoud build and run the engine and the view webapps. ### Docker +*docker container is not maintained for now - TODO* + Under windows, please use the WSL. You need docker installed, and the current user being in the `docker` group. @@ -61,3 +63,11 @@ Copy and adapt `docker/pairgoth.properties.example` towards `docker/pairgoth.pro Just running `./run.sh` in the `docker` directory should build and run the engine. +## Debugging + +The `./server.sh` will launch the server in debugging mode, with a remote debugger socket on port 5005. + +The `./client.sh` will launch the web client in debugging mode, with a remote debugger socket on port 5006. + + + diff --git a/run.bat b/standalone.bat similarity index 100% rename from run.bat rename to standalone.bat