Skip to content

Commit efb6859

Browse files
committed
update
1 parent 9ba3c9c commit efb6859

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.worktreeinclude

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env*
2+
config/credentials/*.key

conductor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"setup": "# Copy Rails encrypted credentials keys from the main repo (gitignored, not in worktree)\nMAIN_REPO=\"$(dirname \"$(git rev-parse --git-common-dir)\")\"\nmkdir -p config/credentials\nfor key in development.key staging.key production.key test.key; do\n if [ -f \"$MAIN_REPO/config/credentials/$key\" ]; then\n cp \"$MAIN_REPO/config/credentials/$key\" \"config/credentials/$key\"\n echo \"Copied config/credentials/$key from $MAIN_REPO\"\n fi\ndone\n\n# bundle, create db, migrate, run seeds\nbin/setup\n\n# install frontend deps\nnpm install",
3+
"setup": "# bundle, create db, migrate, run seeds\nbin/setup\n\n# install frontend deps\nnpm install",
44
"run": "# Kill whatever is running on port 3000\nlsof -ti :3000 | xargs kill -9\nbin/dev",
55
"archive": "# Frontend deps\nrm -rf node_modules\n\n# Vite build output\nrm -rf public/vite public/vite-ssr public/vite-dev\n\n# Rails tmp + logs\nrm -rf tmp/cache tmp/pids tmp/sockets tmp/storage\nrm -f log/*.log"
66
}

0 commit comments

Comments
 (0)