New packaging in progress

This commit is contained in:
Claude Brisson
2023-06-08 22:24:30 +02:00
parent f06d6c78d9
commit 83ce0cfe10
16 changed files with 303 additions and 540 deletions

View File

@@ -11,8 +11,7 @@
├── run.bat ................................... Executable run script, windows
├── test.sh ................................... Executable test script, linux
├── application ............................... Executable final packaging
├── bootstrap ................................. Executable entry point
├── container ................................. Web container
├── webserver ................................. Web container
├── docker .................................... Docker packaging
│   ├── pairgoth.properties.example ........... Docker property file to instanciate
│   └── run.sh ................................ Docker launch script
@@ -24,6 +23,7 @@
│   └── WEB-INF ................... Engine API webapp configuration
└── test
└── kotlin ........................ Engine webapp API unit tests
└── view-webapp ............................... Web interface
```
## API Webapp sources structure
@@ -37,7 +37,6 @@ api-webapp/src/main/kotlin/org/jeudego/pairgoth
├── store .................................. Persistence handlers
├── util ................................... Various utilities
└── web .................................... Web interface
└── sse ................................ Server Sent Events interface
```
Tests are located in `webapp/src/test/kotlin`
@@ -48,12 +47,10 @@ Tests are located in `webapp/src/test/kotlin`
You need maven installed.
Copy and adapt `pairgoth.properties.example` towards `pairgoth.properties`.
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 .
Run `/test.sh` to test the engine.
### Docker
Under windows, please use the WSL.