Demo Mode

Welcome Forums Appliance and OS Demo Mode

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3568
    Charles HerringCharles Herring
    Keymaster

    To place WitFoo Precinct into demo mode:

    1. edit /witfooprecinct/settings.json and set mode to demo.
    2. 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:

    1. edit /witfooprecinct/settings.json and set mode to normal
    2. To remove the demo data run sudo docker exec ui php /var/www/html/laravel/artisan db:soft_reset
    3. 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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.