Add install.php: browser/CLI installer for database and schema

Creates config.php from the example if missing, creates the database
(and app DB user when admin credentials are given), applies schema.sql
idempotently, optionally creates the first login account, and locks
itself with .install.lock after a successful run.
This commit is contained in:
Harwinder Sekhon
2026-07-11 11:02:22 -04:00
parent 3ae6c1ae2e
commit ceb7aa6780
2 changed files with 259 additions and 0 deletions
+3
View File
@@ -3,3 +3,6 @@ config.php
# Video library lives outside version control
videos/
# Written by install.php after a successful install
.install.lock