-
Notifications
You must be signed in to change notification settings - Fork 448
Reset Development Environment
Robert Spencer edited this page Jun 13, 2024
·
4 revisions
While developing for ChurchCRM, it may become necessary to reset the state of your development environment (code and/or database).
Todo.
- Use Admin Database Reset menu item
- Send a
DELETE
to/api/database/reset
to delete all records and do a clean installation - Send a
DELETE
to/api/people/clear
to delete all people from the database
Assuming you've already got npm
working correctly (and that you ran npm install
to get your current dev environment working, running npm restore-demo-db
will drop all tables and install the demo db to the database configured in src/Include/Config.php