No description
  • TypeScript 98.4%
  • CSS 0.7%
  • HTML 0.4%
  • Dockerfile 0.4%
Find a file
David Findley a2824bb2d8
All checks were successful
Build and Push Image / build (push) Successful in 18s
Move from gitlab CI to Forgejo actions
2026-05-03 23:50:50 -05:00
.forgejo/workflows Move from gitlab CI to Forgejo actions 2026-05-03 23:50:50 -05:00
scripts chore(deploy): Update release process 2026-04-07 23:00:52 -05:00
src fix(ai-extract): PDF extraction now works 2026-04-07 22:27:06 -05:00
web fix(web): Allow recipe file import/extract to be dragged and dropped 2026-04-07 22:49:02 -05:00
.dockerignore Update API server to serve static frontend files add docker build 2026-03-08 23:00:51 -05:00
.env.example fix(ai-extract): PDF extraction now works 2026-04-07 22:27:06 -05:00
.gitignore Update API server to serve static frontend files add docker build 2026-03-08 23:00:51 -05:00
AGENTS.md fix(web): Allow recipe file import/extract to be dragged and dropped 2026-04-07 22:49:02 -05:00
bun.lock fix(ai-extract): PDF extraction now works 2026-04-07 22:27:06 -05:00
Dockerfile Update dockerfile to set VITE_API_BASE_URL to empty string 2026-03-15 17:29:35 -05:00
package.json chore(deploy): Update release process 2026-04-07 23:00:52 -05:00
README.md chore(deploy): Update release process 2026-04-07 23:00:52 -05:00
todo.md Rework /recipes and /recipes/:slug to use a layout 2026-03-17 14:01:58 -05:00
tsconfig.json Update API server to serve static frontend files add docker build 2026-03-08 23:00:51 -05:00

findley.recipes

Family recipe database

Config

Configuration is done via environment variables. See <.env.example>.

Local development

$ bun install
$ bun dev

Set VITE_API_BASE_URL to http://localhost:3000 in ./src/web/.env.

$ cd ./web
$ npm run dev

Release / Deployment

  1. Run bun tag to create a release tag.
  2. Push the tag to trigger a docker build.
  3. Manually update to the new image on findley.dev server

Docker build

$ docker build -t findley.recipes .
$ docker run -p 3000:3000 --env-file ./.env -v ./data:/app/data findley.recipes

Importing recipe data

Use the /api/db.json endpoint of the production server to export all recipes as JSON.

Import the recipes into a fresh database by running:

$ bun run ./scripts/import.ts db.json