This project fully placed in Docker.
There are two ways to setup environment and run application via Docker:
-
Visual Studio Code Remote - open project in VS Code.
-
Build manually from shell on any machine with docker.
-
Install
remote-containers
Visual Studio Code extensions:code --install-extension ms-vscode-remote.remote-containers
-
Clone this repo to your machine:
git clone [email protected]:andriyreznik/laravel-app.git
-
Open Visual Studio Code in
laravel-app
folder:cd laravel-app code .
or build manually (skip if using VS Code):
cd laravel-app docker compose up
-
Prepare database:
php artisan migrate:fresh --seed
-
To start
Laravel
development server you need to start process in terminal:php artisan serve
See LICENSE.