Clear Demo Data Guide
If you selected the demo data option during installation and no longer need the test content, you can safely remove it without reinstalling WuWei. Follow the steps below to clean your database and reset the admin account.
1. Access the PHP Container
Use the following command to enter the running wuwei-php
Docker container:
docker exec -it wuwei-php bash
2. Run the Demo Data Cleanup Script
Navigate to the application directory and execute the cleanup command:
cd /var/www/html/wuwei
php console.php clean_demo_data
Admin Login Credentials After Cleanup
Once the cleanup is complete, a new administrator account will be created automatically:
- Email: 10000@163.com
- Password: 123456