Running a demo site
This page is for designers who want people to try a theme before installing it. A live demo answers "how does it feel?" better than any screenshot.
Examples from the project
The Exponential project runs public demonstration sites and rebuilds each of them on a schedule from the newest
sources on GitHub (se7enxweb/exponential, branch main), on SQLite and in demo mode, so visitors always see a clean,
current state:
| Demo | Rebuilt | Sign-in |
|---|---|---|
https://demo.exponential.earth/ | once a day | admin / publish at https://edit.demo.exponential.earth/ |
https://latest.demo.exponential.earth/ | every two hours | admin at /admin |
https://site.cjw.demo.exponential.earth/ (the CJW starter site, cjw_themes_jumper design) | every two hours | admin at /admin |
Everything you change there is gone after the next rebuild. The script of demo.exponential.earth is in the
examples: install-demo-sqlite-demo-exponential-earth.sh.
Options
| Option | Effort | Fits |
|---|---|---|
| Screenshots and a short video only | Low | A first release |
| A public read-only site | Medium | Most themes |
| A site that resets on a schedule, with a demo editor login | Higher | Themes sold to editors who want to try editing |
| A demo per customer, on request | Highest | Custom or premium work |
Step by step: a read-only demo
- Install Exponential on a server or hosting account you control, with the theme and demo content (Demo content for a theme).
- Give the anonymous role only read access; keep the administration on a separate siteaccess that is not linked.
- Install every theme release there first; it doubles as your upgrade test (Upgrade testing, step by step).
- Link the demo from the README, the project listing and your product page.
Step by step: a demo that resets
- Script a fresh install (database, demo content, theme) that runs without questions.
- Run it on a schedule (for example every two hours) into a new directory, then switch the web root over, so visitors never see a half-built site.
- Give a demo editor account rights to edit content only. Publish its password on the demo's front page if it is meant to be public; never reuse it anywhere.
- Send mail of the demo to files or a test mailbox, never to real addresses.
Safety
- Keep the server and Exponential updated like any production site (Security hardening).
- Do not put customer data or private material on a demo.
Demo sites with a published sign-in. Run them in demo mode (EXP_DEMO_MODE=1), so visitors cannot change the administrator password. A theme that overrides user/forgotpassword.tpl or user/password.tpl should show the kernel's notice (demo_mode_text, demo_mode_locked, read with first_set()). Demo mode for developers.
Related pages
- Demos that sell
- Demo scripts
- 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.