docs: update deploy notes — corvid pulled from Forgejo, no vendor/ bundling
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dd799cea8e
commit
3bd431bea0
1 changed files with 8 additions and 15 deletions
23
CLAUDE.md
23
CLAUDE.md
|
|
@ -50,25 +50,18 @@ Default port: `8090` (maps to internal `8080`).
|
||||||
|
|
||||||
## homelab-dashboard integration
|
## homelab-dashboard integration
|
||||||
|
|
||||||
The dashboard depends on corvid as an editable pip install:
|
The dashboard depends on corvid via Forgejo:
|
||||||
|
|
||||||
```bash
|
```
|
||||||
# Local dev
|
# requirements.txt
|
||||||
pip install -e ~/Projects/corvid
|
corvid @ git+https://forgejo.welvaert.org/caoimhinr/corvid.git@main
|
||||||
|
|
||||||
# VPS deploy — corvid is rsynced alongside the dashboard, then installed
|
|
||||||
rsync -az ~/Projects/corvid/ root@157.180.29.73:/opt/corvid/
|
|
||||||
ssh root@157.180.29.73 'pip install -e /opt/corvid'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The dashboard's `Dockerfile` copies corvid source before installing:
|
Local dev: `pip install -e ~/Projects/corvid`
|
||||||
|
|
||||||
```dockerfile
|
**Push corvid to Forgejo before rebuilding the dashboard image** — the Docker
|
||||||
COPY ../corvid/ /tmp/corvid/ # requires parent-dir build context
|
build pulls `@main` at build time. See `homelab-dashboard/CLAUDE.md` for the
|
||||||
RUN pip install --no-cache-dir /tmp/corvid/
|
full deploy procedure.
|
||||||
```
|
|
||||||
|
|
||||||
See `homelab-dashboard/CLAUDE.md` for the full deploy procedure.
|
|
||||||
|
|
||||||
## Local dev
|
## Local dev
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue