Reset Development Environment - respencer/ChurchCRM GitHub Wiki
While developing for ChurchCRM, it may become necessary to reset the state of your development environment (code and/or database).;
Code Reset
Database Reset
In Application
- 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.
From CLI
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