php lou build # build site/ into public/ (atomic swap)
php lou user add NAME --role=admin # create an admin user, then open /_lou/admin.php (in a checkout)
php lou serve # build a preview and serve it on http://localhost:8000
php lou check # check PHP version, extensions, folders and config
php lou update # update Lou from the latest release (installs from a zip)
php lou user invite NAME --email=… # create a user who chooses their own password from a link
php lou release # build lou-<version>.zip into dist/
php lou deploy ~/lou # copy the code from this checkout into an install and build (cPanel)
php lou backup # single-file backup into var/backups/ (--parts=… / --exclude=… pick what goes in)
php lou restore FILE # restore a backup (the current state is backed up first)
php lou submissions # export form submissions as CSV
php lou retry # re-run failed email/newsletter/webhook actions
php lou token add NAME # bridge token for an assistant (or create one under Admin → Users → AI assistants)
php lou version # show the version
php tests/run.php # run the tests
On the server, point the domain's document root at public/. Nothing else in the repo should be web-accessible.
php lou check lists missing PHP pieces (version, extensions, writable folders, config). For cPanel with Git Version Control, .cpanel.yml runs php lou deploy ~/lou, which copies the code into the live install, seeds site/ on the first deploy only, and builds. See docs/deploy-cpanel.md.
Email (sender, SMTP server and password) is set by an admin under Settings → Email, which also sends a test email. The SMTP password is kept in var/secrets.json (outside the web root, mode 0600) and is never shown again. Turnstile and reCAPTCHA keys can be entered under Settings → Spam protection (secrets go to var/secrets.json too). Other secrets (API keys) go in .env.php next to site/. See .env.example.php. SMTP in .env.php still works, and the admin values take over once saved.
This page is generated from README.md in the Lou repository, so fixes go there. View the source on GitHub