Simplify UI and add batch build endpoint

This commit is contained in:
klas
2026-02-10 09:58:11 +01:00
commit dee991a51a
83 changed files with 7043 additions and 0 deletions

68
README.md Normal file
View File

@@ -0,0 +1,68 @@
# GeViSetWEB
Lightweight single-user web tool for editing GeViSet `.set` files with fast tables.
## Features
- Parse `.set` files into editable tables (servers + action mappings)
- Edit, add, and delete G-Core and GeViScope servers
- Edit and extend action mappings
- Import new entries from Excel templates
- Export back to `.set`
## Layout
- `backend/` FastAPI service
- `frontend/` React + Vite UI
- `samples/` Excel templates copied from the original workspace
## Backend setup
```bash
cd C:/DEV/COPILOT_codex/GeViSetWEB/backend
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8002
```
## Frontend setup
```bash
cd C:/DEV/COPILOT_codex/GeViSetWEB/frontend
npm install
npm run dev
```
The UI expects the API at `http://localhost:8002` by default. To override, set `VITE_API_BASE` in a `.env` file.
## Docker
Build the image:
```bash
docker build -t gevisetweb .
```
Run:
```bash
docker run --rm -p 8002:8002 gevisetweb
```
Open:
```
http://<host>:8002
```
## Docker Compose
```bash
docker compose up --build
```
## Notes
- The action mapping editor edits output actions (name/action/server) for speed.
- New action mappings imported from Excel use a template from the first mapping rule.