A public demo
With QOREKIT_DEMO=true, an installation becomes a demo that anyone can try, like demo.qorekit.com:
- Everyone signs in with one shared account. The sign-in page shows it, with a button that signs in.
- Every few hours the data starts afresh, with a small sales and support company as sample data: companies, contacts, deals and tickets, with roles and users.
- A banner tells visitors that the demo is shared and when it starts afresh.
- What would lock out the next visitor or reach the server is turned off: passwords, email addresses, deactivating users, updates, the system report and embeddable sites. Uploads are limited to 1 MB.
A database of its own
Each reset drops every table in the database. Give the demo an empty database that nothing else uses, and never turn demo mode on for an installation with real data.
Setting one up
Install as usual, into an empty database used for nothing else.
Sign in, open Administration › System and copy the cron command. The System page is turned off in demo mode, so do this first.
Add the cron job. The demo starts afresh from scheduled work.
Add to
.env:dotenvQOREKIT_DEMO=true # Optional, with their defaults: QOREKIT_DEMO_RESET_HOURS=3 QOREKIT_DEMO_EMAIL=demo@qorekit.com QOREKIT_DEMO_PASSWORD=qorekit-demoWait for the next cron run, or run
php artisan qorekit:demo-resetonce. The demo starts afresh, and from then on every few hours.
The account made during installation goes with the first reset; from then on, sign in with the demo account.
Visitors see the interface in their browser's language, English or Turkish, and can switch; the choice stays in their browser, not on the shared account.