update docs

This commit is contained in:
2026-11-27 17:23:32 +01:00
parent 200aee2106
commit f347ce126a
5 changed files with 165 additions and 89 deletions
+13 -12
View File
@@ -8,20 +8,20 @@ A lightweight PHP-based website builder with a drag-and-drop page editor, themin
## Quick Start
Get up and running in minutes:
Follow the [installation guide](installation.md) for complete manual deployment and local Docker instructions. In brief:
1. **Download** Plugi and upload it to your webroot.
2. **Create** a `.env` file with your database credentials.
3. **Copy** `config.dist.php` to `config.php` and adjust settings.
4. **Navigate** to `/admin` and log in with the default credentials (`admin` / `admin`).
1. Use PHP 8.4 with `pdo_mysql` and MySQL 8.0 or a compatible database.
2. Copy `.env.dist` to `.env` and `config.dist.php` to `config.php`.
3. Configure the database, public `BASE_URL`, and a unique admin login in `.env`; create the database and user.
4. Sign in at `/admin/auth` and apply the schema through the Website Manager database update flow.
Or use Docker for a quick local setup:
For local development only, the Compose stack starts with:
```bash
docker-compose up -d
docker compose up --build -d
```
Then open `http://localhost:63000/admin` in your browser.
Then open `http://localhost:63000`. Do not use the supplied Compose stack as a production deployment.
## Key Features
@@ -30,22 +30,23 @@ Then open `http://localhost:63000/admin` in your browser.
- **Extensions** — Extend functionality with plugins that add routes, admin pages, blocks, and more.
- **Multilingual** — Built-in translation support for pages, themes, and extensions.
- **Caching** — Optional page caching for production performance.
- **Database-Driven** — All content stored in MySQL with automatic schema management.
- **Database-Driven** — All content is stored in MySQL; create or update the schema through the Website Manager.
## Documentation
| Section | Description |
|---------|-------------|
| [Getting Started](GettingStarted.md) | Installation, requirements, and first steps. |
| [Installation](installation.md) | Manual deployment, local Docker development, database setup, and security guidance. |
| [Getting Started](GettingStarted.md) | Requirements and a short setup overview. |
| [Configuration](Configuration.md) | Full reference for `.env` and `config.php` settings. |
| [Themes](Themes.md) | How to create and structure custom themes with blocks and layouts. |
| [Extensions](Extensions.md) | How to build extensions that add routes, admin pages, blocks, and more. |
## Requirements
- **PHP 8.2** or higher
- **PHP 8.4**
- **MySQL 8.0** or higher
- **Apache** or **Nginx** web server
- **Apache** web server for the documented manual setup
- **PDO MySQL** extension enabled
## Project Structure