This repository contains the source code for Laravel 10 with Docker. It includes running the source code by Apache, using Cronjob, and using pre-commit to automatically check code syntax and formatting.
-
Please help apply GitFlow for this repository (https://danielkummer.github.io/git-flow-cheatsheet).
-
Example:
- Name for any features ->
feature/xxx-yyy
. Ex:feature/implement-login-ui
- Name for any bugs ->
bug-fixes/xxx-yyy
. Ex:bug-fixes/wrong-message-when-login
- Name for any features ->
-
When you create a name for the Pull Request, please help set a meaningful name and set description if needed. Should capitalize the first letter and do not use special characters.
- PHP 8.2.x
- Laravel 10.x
- NodeJS 16.20.x
- NPM 8.19.x
- Docker
- Docker compose
cp .env.example .env
docker-compose build
docker-compose up
- Host: http://localhost
Make sure the web service is running
docker-compose exec web bash -c "cd /var/www/html/ && bash"
composer install
npm install
php artisan key:generate
php artisan config:cache
php artisan migrate
- Name: Tuan Le
- Email: tuanle29.dev@gmail.com