Skip to content

Commit 6ba8574

Browse files
committed
name changing
1 parent e63f839 commit 6ba8574

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

jobs/DEVELOPMENT_JOBS.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,24 @@ From the `constructive-db/` directory (with `pgenv` applied):
6969

7070
```sh
7171
pgpm admin-users bootstrap --yes
72+
```
73+
74+
If you need seeded test users, run:
75+
76+
```sh
7277
pgpm admin-users add --test --yes
7378
```
7479

75-
3. Deploy the main app and jobs packages into DB:
80+
3. Deploy the main app and metaschema packages into DB:
7681

7782
```sh
78-
pgpm deploy --yes --database "$PGDATABASE" --package app-svc-local
83+
pgpm deploy --yes --database "$PGDATABASE" --package app
7984
pgpm deploy --yes --database "$PGDATABASE" --package metaschema
80-
pgpm deploy --yes --database "$PGDATABASE" --package pgpm-database-jobs
8185
```
8286

87+
`app-svc-local` is no longer available in this repo, so use `app`.
88+
`app` pulls in `pgpm-database-jobs`, so you don't need to deploy it separately.
89+
8390
At this point, the app schema and `database-jobs` should be installed and `app_jobs.*` should be available in the `constructive` database.
8491

8592
---
@@ -128,7 +135,9 @@ In dry-run mode:
128135

129136
Constructive selects the API by the HTTP `Host` header using rows in `services_public.domains`.
130137

131-
For local development, `app-svc-local` seeds `admin.localhost` as the admin API domain. `docker-compose.jobs.yml` adds a Docker network alias so other containers can resolve `admin.localhost` to the `constructive-server` container, and `send-email-link` uses:
138+
For local development, you need a domain route for `admin.localhost` in `services_public.domains`.
139+
This repo no longer ships `app-svc-local`, so seed a domain route yourself (or skip the `send-email-link` test).
140+
`docker-compose.jobs.yml` adds a Docker network alias so other containers can resolve `admin.localhost` to the `constructive-server` container, and `send-email-link` uses:
132141

133142
- `GRAPHQL_URL=http://admin.localhost:3000/graphql`
134143

@@ -179,7 +188,7 @@ You should then see the job picked up by `knative-job-service` and the email pay
179188

180189
`send-email-link` queries GraphQL for site/database metadata, so it requires:
181190

182-
- The app/meta packages deployed in step 3 (`app-svc-local`, `metaschema-schema`, `services`, `metaschema-modules`)
191+
- The app/meta packages deployed in step 3 (`app`, `metaschema-schema`, `services`, `metaschema-modules`)
183192
- A real `database_id` (use `$DBID` above)
184193
- A GraphQL hostname that matches a seeded domain route (step 5)
185194
- For localhost development, the site/domain metadata usually resolves to `localhost`.

0 commit comments

Comments
 (0)