Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: update package.json to add Cleanstart options for new database #1449

Merged
merged 3 commits into from
Dec 25, 2024

Conversation

harperaa
Copy link

@harperaa harperaa commented Dec 25, 2024

Provide cleanstart scripts for startup with new database

Adds following scripts to package.json:
cleanstart - checks for db.sqlite and removes it, for a clean start.

cleanstart:debug - does same, but starts with debugging options on...

Relates to: N/A

Risks

Background

What does this PR do?

This allows for quick development, when a reset of the database is desired on each start of the agent.

What kind of change is this?

Improvements (misc. changes to existing features)

Documentation changes needed?

Yes, perhaps.

Testing

Where should a reviewer start?

Detailed testing steps

Adds following scripts to package.json:
cleanstart - checks for db.sqlite and removes it, for a clean start.
cleanstart:debug - does same, but starts with debugging options on...
@harperaa harperaa changed the title Update package.json Update package.json to add Cleanstart option for new database Dec 25, 2024
@harperaa harperaa changed the title Update package.json to add Cleanstart option for new database Update package.json to add Cleanstart options for new database Dec 25, 2024
Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this been manually deleting so much appreciated. Note this is for sqlite only so if you can add that into the command name that would be great

@harperaa harperaa changed the title Update package.json to add Cleanstart options for new database Feat: update package.json to add Cleanstart options for new database Dec 25, 2024
@shakkernerd shakkernerd merged commit 4b8746b into elizaOS:develop Dec 25, 2024
3 checks passed
@harperaa harperaa deleted the cleanstart branch December 26, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants