LeafCMS GitHub Install
Install

Three ways, then it is ready

Pick one method in the project folder. Then open the site and the admin. Delete the install lock to run the wizard again.

Docker

One command. The first start prepares the database and demo content.

docker compose up --build

Command line

Needs PHP 8.3 and Composer. SQLite is the default. For MySQL, set the database config first.

composer install
cp .env.example .env
php artisan key:generate
php artisan cms:install [email protected] --password=YourPass#1
php artisan serve

On Windows copy the env file with copy .env.example .env. Add --demo to load sample sections and entries.

Web wizard

Start the app, then open the install page to check the environment, pick a database, and set the admin account.

composer install
cp .env.example .env
php artisan key:generate
php artisan serve

Skipping demo content still creates the admin account you enter.

Dev seed

php artisan migrate:fresh --seed
php artisan storage:link

This rebuilds demo data for a local trial. Change those initial passwords before the site is public.

Group @sanpang