Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Demo script: install from zero

A ten-minute video script from an empty folder to a running Exponential site - clone, Composer, a dry run, the one-command install on SQLite, serving the site, the first sign-in and the password change - with the…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/press/demo-script-install-from-zero.md

On this page

Demo script: install from zero

This page is for creators who film an installation of Exponential from nothing. The commands come from Develop with Git, Installing Exponential in one command and The console install. exp:install is part of the 6.0.15 line, which is in development; on the release 6.0.14 you would use the setup wizard or the kickstarter instead (Choosing an install method). Say on camera which one you show.

The script runs about ten minutes of edited video. Downloads take longer: the documentation names more than 27,000 commits and about 370 MB for the kernel's clone, and a few minutes for the extensions; cut the waiting.

Contents

  1. Before you record
  2. The script
  3. Moments to cut or blur
  4. If it fails on camera
  5. Description block

Before you record

[ ] A demo machine or virtual machine you may wipe; PHP, Git 2.28+ and Composer 2 installed
[ ] Requirements checked once (PHP version and extensions), so the take does not fail on them
[ ] Terminal: large font, plain prompt without a real host or user name, empty history
[ ] A web server or Velocity ready to serve the folder you install into
[ ] You ran the whole script once, off camera, and timed it

Requirements: Requirements. The full creator setup is on Setting up a demo installation.

The script

StepCommand or clickSay
1Title cardDisclosure. "From an empty folder to a running Exponential site, on <version>."
2git clone https://github.com/se7enxweb/exponential.git exponential"The kernel, with its whole history."
3cd exponential and git switch -c my-demo"My own branch on top of main, the development line." (For the release: git switch -c my-demo v6.0.14.)
4composer install"Composer fetches the extensions and libraries. Exponential needs this step before it can run."
5php bin/php/console exp:install --dry-run"A dry run checks the configuration and the packages and installs nothing."
6php bin/php/console exp:install --apply"Without options: the multisite package, on SQLite, in American English, with no database server."
7Show the first line of output only"It says what it is about to do." Then cut to the end
8Show the summary with the password lines blurred"Site address, administration login, user name, database, package and siteaccesses. The generated password is printed once and written to a file only the owner can read."
9Serve the site: your web server, or php bin/php/console exp:velocity start"The installer does not start a web server; I serve the folder."
10Browser: the admin login address from the summary"The administration sign-in." Pause the recording while you type the password
11User menu, Change password"First thing: change the generated password, then delete var/log/initial-admin-password."
12The dashboard, then the site"And here is the site."

The database choices, in the documented order of preference: SQLite (the default), PostgreSQL, MongoDB, MariaDB, Oracle, MySQL (Installing Exponential in one command). If you show another database, give the password with the environment variable EXP_INSTALL_DB_PASSWORD, which keeps it out of the process list and shell history, and never type it on camera.

Moments to cut or blur

MomentWhy
The Password: lines and the "Copy and paste" block of the summaryThey print the administrator password
Any --password= or --db-password= you typedPasswords in the command line and history
cat var/log/initial-admin-passwordNever run it on camera
The sign-in form while you typePause the recording
Error output with full paths of your machineRead it first; blur what you do not want to show

Even after you blur it, treat a password that was on your screen during a recording as burned: change it (Keeping secrets off screen).

If it fails on camera

SymptomCause, and what to do
"This directory already holds an installation ..."An earlier take: add --force on this demo machine only
"Unknown option or missing value"Every value needs =: --db=mysql, not --db mysql
The run stops while fetching packagesNo network access to the package server
The site shows the maintenance page after a failed runFix the cause and run again, or php bin/php/maintenance.php off
Permission errors after installing as rootGive the files to the web server's user

Full table: What can go wrong. Logs: var/log/setup.log.

Description block

Installs Exponential <version> from scratch on SQLite with one command, on my own test machine.
<disclosure line>

Commands shown:
  git clone https://github.com/se7enxweb/exponential.git exponential
  composer install
  php bin/php/console exp:install --dry-run
  php bin/php/console exp:install --apply
Install in one command: <link to "Installing Exponential in one command">
Change the generated password after the first sign-in: <link to "The default administrator password">

Installing on camera for a public demo. If viewers will sign in to the result, install with EXP_DEMO_MODE=1 in front of the command: the published password is kept as given, and the administration shows a Demo mode banner afterwards. Do not show the variable as something every site should set. Demo mode FAQ.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x