Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
run: npm --prefix showcase/angular run test:translation-tools
- name: Reject English-copy and cross-locale-identical targets
run: npm --prefix showcase/angular run verify:translation-quality
- name: Run Angular component tests
run: npm --prefix showcase/angular run test:ci
- name: Verify ng extract-i18n produces no diff (CI-02)
run: |
mkdir -p /tmp/extract-check
Expand Down
5 changes: 5 additions & 0 deletions showcase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Runtime defaults:
- `DB_PATH=/data/fsb-data.db`
- `NODE_ENV=production`

Production should also provide `GITHUB_TOKEN` as a Fly secret. Use a
fine-grained token owned by an FSB collaborator, restricted to the FSB
repository with Metadata read and Contents read. The value is consumed only by
the server-side Stats poller and is never sent to browsers.

The production container is built in two stages. The first stage builds the Angular static output. The final stage installs server dependencies, copies the Express source, copies the Angular browser output into `public/`, and creates `/data` for SQLite persistence.

## Server Responsibilities
Expand Down
Loading
Loading