Welcome › Forums › Appliance and OS › Demo Mode
- This topic has 0 replies, 1 voice, and was last updated 3 months, 3 weeks ago by Charles Herring.
- AuthorPosts
- August 28, 2024 at 11:39 am #3568Charles HerringKeymaster
To place WitFoo Precinct into demo mode:
- edit
/witfooprecinct/settings.json
and setmode
todemo
. - Run
sudo service superintendent restart
to apply the changes and create demo data
The demo data will be downloaded automatically on first run to
/data/demodata/import
. Those JSON structures can be edited to meet the needs of the demonstration or training scenario.To remove demo mode, reset the data and return to normal mode:
- edit
/witfooprecinct/settings.json
and setmode
tonormal
- To remove the demo data run
sudo docker exec ui php /var/www/html/laravel/artisan db:soft_reset
- Restart into normal mode by running
sudo service superintendent restart
The following command will erase all data (but preserve users and settings) and import the data from
/data/demodata/import
:sudo docker exec ui php /var/www/html/laravel/artisan demodata
If you have created data you wish to export, run
sudo docker exec ui php /var/www/html/laravel/artisan exportdata
. It will be exported to/data/demodata/export
. That data can be edited and moved to/data/demodata/import
for future data generation. - edit
- AuthorPosts
- You must be logged in to reply to this topic.