Add .env.example.linux and .env.example.windows, remove .env.standard, update README

This commit is contained in:
root
2026-06-04 19:27:53 +02:00
parent 4487084614
commit c468040792
5 changed files with 189 additions and 183 deletions
+23 -1
View File
@@ -143,6 +143,28 @@ Database credentials are read automatically from the Laravel `.env` file.
---
## Environment Files
Two ready-to-use environment configurations are included:
| File | Platform | Cache | Database |
| ---- | -------- | ----- | -------- |
| `.env.example.linux` | Linux (production) | Redis | MariaDB |
| `.env.example.windows` | Windows (development) | File-based | MySQL |
```bash
# Linux
cp .env.example.linux .env
# Windows
cp .env.example.windows .env
# Always generate a fresh key after copying:
php artisan key:generate
```
---
## Requirements
| Component | Requirement |
@@ -185,7 +207,7 @@ git clone ssh://git@your-gitea-server:8422/remco/Atomcms-edit.git /var/www/atomc
cd /var/www/atomcms
# 5. Configure environment
cp .env.example .env
cp .env.example.linux .env
php artisan key:generate
# 6. Install PHP dependencies