You've already forked Atomcms-edit
Add .env.example.linux and .env.example.windows, remove .env.standard, update README
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user