You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs-deploy workflow will rsync the built Docusaurus site to `/opt/hivemind-docs/`. Caddy serves it via the `hivemind.rithul.dev` server block in the Caddyfile.
103
+
The docs-deploy workflow will rsync the built Docusaurus site to `/opt/devsper-docs/`. Caddy serves it via the `docs.devsper.com` server block in the Caddyfile.
104
104
105
105
### Caddyfile
106
106
107
-
The Caddyfile at `/opt/hivemind-registry/Caddyfile` serves both domains:
107
+
The Caddyfile at `/opt/devsper-registry/Caddyfile` serves both domains:
108
108
109
-
-`registry.hivemind.rithul.dev` → reverse proxy to API (`:8080`) and Web (`:3000`)
110
-
-`hivemind.rithul.dev` → static files from `/srv/docs` (host bind-mount from `/opt/hivemind-docs`)
109
+
-`registry.devsper.com` → reverse proxy to API (`:8080`) and Web (`:3000`)
110
+
-`docs.devsper.com` → static files from `/srv/docs` (host bind-mount from `/opt/devsper-docs`)
Copy file name to clipboardExpand all lines: README.docker.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ cd registry
18
18
docker compose -f docker-compose.dev.yml up --build
19
19
```
20
20
21
-
-**Postgres**: localhost:5432 (user `registry`, password `registry`, db `hivemind_registry`)
21
+
-**Postgres**: localhost:5432 (user `registry`, password `registry`, db `devsper_registry`)
22
22
-**API**: http://localhost:8080 (Go app with Air hot reload)
23
23
-**Web**: http://localhost:3000 (Vite dev server; serves `/auth` in-process, proxies `/api` and `/simple` to API)
24
24
@@ -50,25 +50,25 @@ If you see **CONNRESET** in the browser or terminal, the API may have restarted
50
50
51
51
- Configure the index in `pyproject.toml`:
52
52
```toml
53
-
[tool.hivemind]
53
+
[tool.devsper]
54
54
index-url = "http://localhost:3000/simple/"
55
55
```
56
56
- Upload via the registry UI (package page → upload), or use the API with auth (e.g. `POST /api/v1/packages/{name}/upload` with Bearer token or API key).
57
57
58
58
Trust/certificate warnings for `http://` are expected for local dev; use HTTPS in production.
59
59
60
-
### Test plugin (hivemind-plugin-demo)
60
+
### Test plugin (devsper-plugin-demo)
61
61
62
62
A minimal plugin lives in `registry/test-plugin/`. To build and optionally seed the registry:
63
63
64
64
1. **Build the wheel**: From repo root, `just test-plugin-build` (or `cd registry/test-plugin && pip install build && python -m build`).
65
-
2. **Create the package and upload**: Use the web UI (register, create package `hivemind-plugin-demo`, upload the wheel from `registry/test-plugin/dist/`), or run the seed script when the API has storage (S3) configured:
65
+
2. **Create the package and upload**: Use the web UI (register, create package `devsper-plugin-demo`, upload the wheel from `registry/test-plugin/dist/`), or run the seed script when the API has storage (S3) configured:
66
66
```bash
67
67
./registry/scripts/seed-dev.sh
68
68
# Or with custom wheel: ./registry/scripts/seed-dev.sh /path/to/wheel.whl
69
69
```
70
70
Set `REGISTRY_EMAIL`, `REGISTRY_PASSWORD` if needed; default is `seed@localhost` / `seedpass123`.
71
-
3.**Install from the registry**: `pip install --index-url http://localhost:3000/simple/ hivemind-plugin-demo` (or `just test-plugin-install` from repo root).
71
+
3.**Install from the registry**: `pip install --index-url http://localhost:3000/simple/ devsper-plugin-demo` (or `just test-plugin-install` from repo root).
72
72
73
73
Without S3 configured, the API will not accept uploads (upload and file download return 503). For local dev with uploads, use AWS credentials and set `S3_BUCKET`, or use a local S3-compatible store (e.g. LocalStack).
0 commit comments