Files
plugi/README.md
T
2026-11-27 16:24:48 +00:00

25 lines
1.4 KiB
Markdown

![Plugi](https://gitea.spenke-nordic.com/deepDiverPaul/plugi/raw/branch/main/plugi-core/dist/images/plugi-banner.png)
> A fork of [PHPagebuilder](https://github.com/HansSchouten/PHPagebuilder) by [Hans Schouten](https://github.com/HansSchouten).
Plugi is a website boilerplate with a drag-and-drop page builder.
## Quick installation
1. Use PHP 8.4 with the PDO MySQL extension and a MySQL 8 database. The supplied Docker image is based on PHP 8.4.
2. Copy `.env.dist` to `.env` and `config.dist.php` to `config.php`; set the database connection, public `BASE_URL`, and a unique admin username and password hash in `.env`.
3. Create the database and a database user, deploy the project at the web root, and make `uploads/` writable by the web server.
4. Open the site, sign in at `/admin/auth`, and follow the Website Manager database update prompt to create/update the schema.
See the [Plugi documentation](https://plugi.paulspenke.com/) for the full installation guide, including manual deployment, Docker development, security, and troubleshooting.
## Local Docker development
The supplied Compose stack uses PHP 8.4 and MySQL 8.0 and is for local development only. Copy `.env.dist` to `.env` and `config.dist.php` to `config.php`, replace the sample database and MySQL root passwords, then run:
```sh
docker compose up --build -d
```
The app is available at `http://localhost:63000`; Adminer is bound to localhost at `http://localhost:63001`.