Remove compiled binaries from git tracking and clean non-essential artifacts

This commit is contained in:
2026-09-03 21:18:51 +02:00
parent c5d364b289
commit 6d98f4783b
5 changed files with 11 additions and 14 deletions
+6 -14
View File
@@ -180,7 +180,6 @@ LOGAR/
├── test_pipeline.py # End-to-end integration test
└── out/ # Standalone shippable distributions
├── server/
│ ├── Server.exe # Standalone Windows executable
│ ├── Server.py # Python source
│ ├── server_config.sample.json
│ ├── requirements.txt
@@ -188,7 +187,6 @@ LOGAR/
│ └── test/
│ └── test_server.py # Server unit tests
├── win_client/
│ ├── Win_Client.exe # Standalone Windows executable
│ ├── Win_Client.py # Python source
│ ├── client_config.sample.json
│ ├── requirements.txt
@@ -196,8 +194,7 @@ LOGAR/
│ └── test/
│ └── test_win_client.py # Windows client unit tests
└── linux_client/
├── Linux_Client.bin # Standalone executable binary (zipapp)
├── build_bin.sh # PyInstaller ELF compiler script
├── build_bin.sh # PyInstaller native ELF compiler script
├── Linux_Client.py # Python source
├── client_config.sample.json
├── requirements.txt
@@ -219,8 +216,6 @@ LOGAR/
2. **Start the server** (generates `server_config.json` and keypair on first run):
```bash
python Server.py
# Or run the standalone executable:
./out/server/Server.exe
```
3. **Export a client configuration**:
```bash
@@ -229,22 +224,19 @@ LOGAR/
### 2. Windows Client Deployment
1. Copy `Win_Client.exe` (or `Win_Client.py`) and `client_config.json` to the target machine.
1. Copy `Win_Client.py` (and `requirements.txt`) plus `client_config.json` to the target machine.
2. Run manually or schedule via Task Scheduler (every 3 hours):
```powershell
Win_Client.exe --hours 6
python Win_Client.py --hours 6
```
### 3. Linux Client Deployment
1. Copy `Linux_Client.bin` (or `Linux_Client.py`) and `client_config.json` to `/opt/logar/`.
2. Ensure executable permissions:
```bash
chmod +x /opt/logar/Linux_Client.bin
```
1. Copy `Linux_Client.py` (and `requirements.txt`) plus `client_config.json` to `/opt/logar/`.
2. (Optional) Run `build_bin.sh` to compile a standalone ELF binary if desired.
3. Run via cron or systemd timer:
```bash
0 */3 * * * /opt/logar/Linux_Client.bin --hours 6
0 */3 * * * python3 /opt/logar/Linux_Client.py --hours 6
```
---