Demo sites for resellers
This page is for sales staff and system administrators at resellers who need a site to show prospects. A demo you control wins more deals than screenshots. There are two kinds, and they need different care.
Contents
- Private demo or public demo
- Building a demo
- Demo mode for a public demo
- What demo mode does not protect
- Demo site checklist
Private demo or public demo
| Private demo | Public demo | |
|---|---|---|
| Who signs in | Your sales staff, or one prospect with a personal account | Anyone, with a published administrator sign-in |
| Password | Secret, strong | Published |
| Demo mode | Off | On: EXP_DEMO_MODE=1 |
| Rebuild | Before important demos | On a schedule, every few hours |
| Use for | Guided demos, tailored to a prospect | "Try it yourself" on your website |
Building a demo
- Choose a site package with demo content:
sevenx_multisite("7x MultiSite Default Installation") orsevenx_site; the_cleanvariants have no demo articles and images (Site packages for hosts). - Install it on its own system user, pool and database, never next to customer sites (Install in one command).
- Add your own touches: your logo in the design, a page about your services, an example from the prospect's sector.
- Prepare the talk track: Demo scripts has 5, 15 and 45 minute demonstrations with a setup checklist and what can go wrong.
- For a press or public demo, see Setting up a demo installation.
Demo mode for a public demo
A public demo publishes its administrator sign-in so anyone can try the administration. Demo mode keeps it usable for the next visitor: nobody can change or reset the password of an administrator (Demo mode).
| Rule | Detail |
|---|---|
| How it is switched on | Only by the environment variable EXP_DEMO_MODE=1 for the demo's PHP processes; no INI setting, no request parameter, no administration page |
Only the exact value 1 | 0, true, yes, on and an empty value leave it off |
| Every process | Web PHP, Exponential Velocity, cron and console commands each need it |
| What visitors see | A yellow Demo mode banner on every page of the administration |
| Installing | With the variable set, the installers accept the published demo password (publish or publishing) for the new administrator |
| Checking | demo/mode lines in var/log/security.log, system.demo.mode audit events |
How to set it for PHP-FPM, Apache, LiteSpeed, Velocity, cron and containers: Demo mode for hosts. Never set it server-wide, in a provisioning template or anywhere a customer site could inherit it.
What demo mode does not protect
- Demo mode only protects administrator passwords. A visitor signed in as an administrator can still create accounts, change roles and settings, install packages and upload files. Rebuild the demo on a schedule.
- Other published sign-ins (an editor, a member) are not protected.
- Keep real data, real mail addresses and secrets out of the demo, and send its mail to a file or a sink.
- If the variable is lost after a restart, demo mode is off and the only sign is the missing banner.
Source: Demo mode for hosts. Answers to common questions: Demo mode FAQ.
Demo site checklist
- To do: Own system user, pool and database; no customer data.
- To do: Private demo: strong password, demo mode off. Public demo:
EXP_DEMO_MODE=1for every process. - To do: Banner visible on the administration of a public demo.
- To do: Rebuild scheduled; the build script does not write the variable into
config.phporsettings/. - To do: Mail goes to a file or a sink.
- To do: Production machines checked:
grep -r EXP_DEMO_MODEover pools, virtual hosts, service units and crontabs finds nothing. - To do: Talk track and recovery steps ready (Demo scripts).
Related pages
- Demo mode, Demo mode FAQ
- Demo mode problems
- Sales process for resellers
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.