You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
1.4 KiB

# Laravel 12 - Content Management Project (Dockerized)
This project is a content management system (CMS) built with **Laravel 12**, running in a development environment powered by **Docker + Docker Compose**.
---
---
## 🛠 Requirements
| Component | Description |
|-------------------|-------------|
| **Laravel 12** | Primary PHP framework using MVC architecture |
| **PHP 8.4 (FPM)** | Latest version of PHP with high performance |
| **MySQL 8** | Relational database management system |
| **Nginx** | Lightweight and fast web server for handling HTTP requests |
| **Docker** | Isolated and portable containerized environment |
| **Docker Compose**| Manage multiple containerized services in one configuration |
| **Composer** | PHP dependency manager |
## 🚀 Install
### 1. Clone the project
```bash
git clone
cd project
```
### 2. Create the .env file
```bash
cp .env.example .env
```
### 📄 Example `.env` Configuration
```env
APP_URL=http://localhost:8080
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=secret
SESSION_DRIVER=database
```
### 3. Build and start Docker containers
```bash
docker-compose up -d --build
```
### 4. Run composer to install package and NPM
```bash
composer install --ignore-platform-reqs
npm install
```
### 5. Generate application key
```bash
php artisan key:generate
```