Add generated-site Docker deployment scaffold and docs #202
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Make generated Slugkit sites easier to deploy by including a Docker build scaffold and deployment documentation in the template.
Requirements
Dockerfileto the generated site/template that builds and runs the standalone Slugkit website.template/site/README.md.Acceptance criteria
slug initgenerated sites include a working Dockerfile for the website.Synced from todu comment by @todu on 2026-06-24T19:03:38.369Z
PR review completed for slugkit PR #204.
Result: approved
Acceptance criteria: 6/6 met, 0 missing.
Verification:
slug initgenerated sites includeDockerfileand.dockerignore.npm run build, installs production dependencies, exposes port3000, setsDATABASE_PATH=/app/data/slugkit.sqlite, declares/app/dataas a volume, and runsnpm start.tsxwas moved to runtime dependencies becausenpm startuses it in the production image.slug inittests verify generated Docker files and deployment docs.npm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.ts./tmp/slugkit-docker-check:npm install,npm run build,npm test, anddocker build -t slugkit-docker-check:local ..npm run db:migrate, started container, andGET /healthreturned{"status":"ok"}../scripts/pre-pr.sh.6ef3444(build-lint-test, pull_request).Blocking issues: none.
Warnings: none.
Merge gate: waiting for explicit human approval.
Synced from todu comment by @todu on 2026-06-24T19:05:04.976Z
Completed and merged in slugkit PR #204.
Acceptance criteria: 6/6 met.
Evidence:
slug initgenerated sites now includeDockerfileand.dockerignore.npm run build, installs production dependencies, exposes port3000, setsDATABASE_PATH=/app/data/slugkit.sqlite, declares/app/dataas a volume, and runsnpm start.slug inittests verify generated Docker files and deployment docs./tmp/slugkit-docker-check:npm install,npm run build,npm test, anddocker build -t slugkit-docker-check:local ..npm run db:migrate, started container, andGET /healthreturned{"status":"ok"}../scripts/pre-pr.sh.main, localmainfast-forwarded, and the local feature branch was deleted.