Skip to content

Commit 4b8746b

Browse files
authored
Merge pull request elizaOS#1449 from harperaa/cleanstart
Feat: update package.json to add Cleanstart options for new database
2 parents 8a10afb + a23ea1f commit 4b8746b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"preinstall": "npx only-allow pnpm",
55
"build": "turbo run build --filter=!eliza-docs",
66
"build-docker": "turbo run build",
7+
"cleanstart": "if [ -f agent/data/db.sqlite ]; then rm agent/data/db.sqlite; fi && pnpm --filter \"@elizaos/agent\" start --isRoot",
8+
"cleanstart:debug": "if [ -f agent/data/db.sqlite ]; then rm agent/data/db.sqlite; fi && cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \"@elizaos/agent\" start --isRoot",
79
"start": "pnpm --filter \"@elizaos/agent\" start --isRoot",
810
"start:client": "pnpm --dir client dev",
911
"start:debug": "cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \"@elizaos/agent\" start --isRoot",

0 commit comments

Comments
 (0)