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.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Harwinder Sekhon
2026-07-11 11:02:22 -04:00
parent b9c92540d4
commit 172b022aec
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