- Docker
- Docker Compose
-
Clone the repository:
git clone <repository-url> cd piattaforma-ricette-cucina-web
-
Copy the
.env.exampleto.envand configure your environment variables:cp .env.example .env
-
Build and start the Docker containers:
docker-compose up --build
-
Access the Laravel backend at
http://localhostand the Vue.js frontend athttp://localhost:8080. -
The MySQL database is accessible at
db:3306with usernamerootand passwordroot. -
The S3-compatible storage is accessible at
http://localhost:9000with access keyminioadminand secret keyminioadmin.
To stop the application, run:
docker-compose down-
To run artisan commands, use:
docker-compose exec app php artisan <command>
-
To install new npm packages for the frontend, use:
docker-compose exec frontend npm install <package-name>