docs: Update CLAUDE.md with prepare-build.sh requirement
This commit is contained in:
parent
e03eae219d
commit
77d1585ed5
@ -45,16 +45,21 @@ Each service follows Clean Architecture with separate projects for:
|
|||||||
|
|
||||||
### Running the System
|
### Running the System
|
||||||
```bash
|
```bash
|
||||||
|
# IMPORTANT: Before building with Docker Compose, prepare the build environment
|
||||||
|
./prepare-build.sh
|
||||||
|
|
||||||
# Start all services with Docker Compose
|
# Start all services with Docker Compose
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
# Start individual services for development
|
# Start individual services for development (no preparation needed)
|
||||||
cd telegram-client && dotnet run --project src/Nocr.TelegramClient.Host
|
cd telegram-client && dotnet run --project src/Nocr.TelegramClient.Host
|
||||||
cd telegram-listener && dotnet run --project src/Nocr.TelegramListener.Host
|
cd telegram-listener && dotnet run --project src/Nocr.TelegramListener.Host
|
||||||
cd text-matcher && dotnet run --project src/Nocr.TextMatcher.Host
|
cd text-matcher && dotnet run --project src/Nocr.TextMatcher.Host
|
||||||
cd users && dotnet run --project src/Nocr.Users.Host
|
cd users && dotnet run --project src/Nocr.Users.Host
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note:** The `prepare-build.sh` script copies `nuget.config` to all submodule roots, which is required for Docker builds. This step is automatic in CI/CD but must be run manually for local Docker Compose builds.
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
```bash
|
```bash
|
||||||
# Build individual services
|
# Build individual services
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user