- PHP 8.1+
- Imagick
- GD
- npm 16.+
$ composer install
$ npm install && npm run build
$ php artisan serve
published to http://127.0.0.1:8000
On the first time we're running the project, we must install the dependencies.
To install the dependencies, run on project folder:
$ docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php82-composer:latest \
composer install --ignore-platform-reqs
To run the docker machine, run:
$ ./vendor/bin/sail up -d
$ ./vendor/bin/sail npm run build
to stop the docker machine:
$ ./vendor/bin/sail stop
There is a command available to clean up the files from local:
$ php artisan tmp-files:clear