Skript + Bugs

This commit is contained in:
Ingo Schnabel
2026-07-17 16:28:51 +02:00
parent 30c583610e
commit ee4bbd31d6
4 changed files with 10 additions and 10 deletions

View File

@@ -158,7 +158,7 @@ agenticcode/
**Prerequisites:** Java 21+, Maven 3.9+, Docker (with the Compose plugin)
The repo ships a `docker-compose.yml` (Neo4j 5 + the `ac-code-server` container) and a
`deploy.sh` wrapper around it.
`manage-ac.sh` wrapper around it.
**Full stack (recommended):**
@@ -168,12 +168,12 @@ git clone https://github.com/your-org/agenticcode.git
cd agenticcode
# Build, (re)build + start neo4j + ac-code-server, and install the `ac` CLI
./deploy.sh up
./manage-ac.sh deploy
```
`./deploy.sh up` builds the project, brings the Compose stack up (leaving an already-running
Neo4j untouched), and installs the `ac` CLI launcher. Other subcommands: `./deploy.sh stop`
(stop only the server), `./deploy.sh logs [-f]`, `./deploy.sh cli` (rebuild the CLI only).
`./manage-ac.sh deploy` builds the project, brings the Compose stack up (leaving an already-running
Neo4j untouched), and installs the `ac` CLI launcher. Other subcommands: `./manage-ac.sh stop`
(stop only the server), `./manage-ac.sh logs [-f]`, `./manage-ac.sh cli` (rebuild the CLI only).
**Dev mode (hot reload):** run only Neo4j from Compose and the server from Maven:

View File

@@ -33,7 +33,7 @@ Data-flow & impact (M4) comes later.
## Prerequisites
The AgenticCode server must be running on `http://localhost:8787` (`./deploy.sh up`
The AgenticCode server must be running on `http://localhost:8787` (`./manage-ac.sh deploy`
from the repo root). The Vite dev server proxies `/api` and `/q` to it.
## Develop
@@ -70,5 +70,5 @@ npm run preview # serve the production build
(`ac-ui` service in `docker-compose.yml`) built from `ac-ui/Dockerfile` (npm build
runs inside Docker — no local Node needed). nginx serves the SPA at
**http://localhost:5174** and reverse-proxies `/api` + `/q` to `ac-code-server`
(single browser origin → no CORS). Brought up by `./deploy.sh up`; rebuild just the
UI with `./deploy.sh ui`.
(single browser origin → no CORS). Brought up by `./manage-ac.sh deploy`; rebuild just the
UI with `./manage-ac.sh ui`.

View File

@@ -10,7 +10,7 @@ server {
index index.html;
# Docker's embedded DNS; re-resolve so a recreated ac-code-server container
# (new IP after deploy.sh rm -f) is picked up without restarting nginx.
# (new IP after manage-ac.sh deploy rm -f) is picked up without restarting nginx.
resolver 127.0.0.11 valid=10s;
# SPA deep-links: serve real files, otherwise fall back to index.html.

View File

@@ -2,7 +2,7 @@ import {defineConfig, devices} from "@playwright/test";
/**
* E2E tests run against the deployed stack (nginx UI container + ac-code-server), i.e.
* `./deploy.sh up` must be running and the `ac` project ingested. The UI is served at :5174 and
* `./manage-ac.sh deploy` must be running and the `ac` project ingested. The UI is served at :5174 and
* proxies /api to the server, so tests exercise the real API — no mocking.
*/
export default defineConfig({