Include dev environment in slug init #199
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#199
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
Include the Overmind dev environment in
slug initso future developers can more easily make changes to the deployed website.Requirements
slug initoutput.slug init.Acceptance criteria
slug initcreates the dev environment files for the website.Dependencies
Synced from todu comment by @todu on 2026-06-24T15:00:54.298Z
PR review completed for slugkit PR #200.
Result: approved
Acceptance criteria: 3/3 met, 0 missing.
Verification:
slug initoutput now includesMakefileandProcfile.devfrom the template.template/sitepaths.tsconfig.jsonno longer depend on repository-relative config paths, so generated sites are more suitable for local website changes.npm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.ts.npm run build --workspace @slugkit/template-site && npm test --workspace @slugkit/template-site../scripts/pre-pr.sh.566392b(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-24T18:08:29.821Z
Completed and merged in slugkit PR #200.
Acceptance criteria: 3/3 met.
Evidence:
slug initnow generates website dev environment files:Makefile,Procfile.dev, and standalonevitest.config.ts.make devstarts the Overmind app and CSS watcher processes, andmake dev-stopstops them./Users/erik/Private/code/forgejo/my-site:npm install,npm run db:migrate,npm run build,npm test(41 files, 263 tests), andmake dev/make dev-stop../scripts/pre-pr.sh.main, localmainfast-forwarded, and the local feature branch was deleted.Synced from todu comment by @todu on 2026-06-24T18:04:55.368Z
PR review completed for slugkit PR #200 after update
d471b86.Result: approved
Acceptance criteria: 3/3 met, 0 missing.
Verification:
d471b86.slug initoutput includes generated-siteMakefile,Procfile.dev, and standalonevitest.config.ts.template/sitepaths.src/__tests__/dev-environment.test.tssrc/federation/__tests__/follow.test.tsnpm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.ts src/__tests__/template-package-script.test.tsandnpm exec --workspace @slugkit/template-site -- vitest run --config ./vitest.config.ts src/__tests__/dev-environment.test.ts src/federation/__tests__/follow.test.ts src/api/__tests__/comments.test.ts./Users/erik/Private/code/forgejo/my-site:npm install,npm run db:migrate,npm run build,npm test(41 files, 263 tests), andmake dev/make dev-stop../scripts/pre-pr.sh.d471b86(build-lint-test, pull_request).Blocking issues: none.
Warnings: none.
Merge gate: waiting for explicit human approval.