Merge UX improvements from PR #443

- Update error modal to show default 'docker compose up --build -d' command
- Add better organized note structure with bullet points
- Include profile-specific fallback example for existing users
- Update README Quick Start to show default command first
- Maintain backward compatibility guidance for profile users
This commit is contained in:
leex279 2025-08-22 20:35:30 +02:00 committed by Wirasm
parent b0aba5f8f7
commit 6a1b0309d1
2 changed files with 11 additions and 4 deletions

View File

@ -77,6 +77,8 @@ This new vision for Archon replaces the old one (the agenteer). Archon used to b
**Full Docker Mode (Recommended for Normal Archon Usage)** **Full Docker Mode (Recommended for Normal Archon Usage)**
```bash ```bash
docker compose up --build -d
# or, to match a previously used explicit profile:
docker compose --profile full up --build -d docker compose --profile full up --build -d
# or # or
make dev-docker # (Alternative: Requires make installed ) make dev-docker # (Alternative: Requires make installed )

View File

@ -49,11 +49,16 @@ export const BackendStartupError: React.FC = () => {
After fixing the issue in your .env file, recreate the Docker containers: After fixing the issue in your .env file, recreate the Docker containers:
</p> </p>
<code className="block mt-2 p-2 bg-black/70 rounded text-red-100 font-mono text-sm"> <code className="block mt-2 p-2 bg-black/70 rounded text-red-100 font-mono text-sm">
docker compose down && docker compose --profile full up -d docker compose down && docker compose up --build -d
</code> </code>
<p className="text-red-300 text-xs mt-2"> <div className="text-red-300 text-xs mt-2">
Note: Use 'down' and 'up', not 'restart' - containers need to be recreated to load new environment variables. Replace the profile value (full) if needed. <p>Note:</p>
</p> <p> Use 'down' and 'up' (not 'restart') so new env vars are picked up.</p>
<p> If you originally started with a specific profile (backend, frontend, or full),</p>
<p>&nbsp;&nbsp;run the same profile again:</p>
<br />
<code className="bg-black/50 px-1 rounded">docker compose --profile full up --build -d</code>
</div>
</div> </div>
<div className="flex justify-center pt-4"> <div className="flex justify-center pt-4">