- PHP 8.1+
- Imagick
- GD
- npm 16.+
$ composer install
$ npm install && npm run build$ php artisan servepublished 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-reqsTo run the docker machine, run:
$ ./vendor/bin/sail up -d
$ ./vendor/bin/sail npm run buildto stop the docker machine:
$ ./vendor/bin/sail stopThere is a command available to clean up the files from local:
$ php artisan tmp-files:clear