Installation
#
With Docker- Run
cp .env.example .env
- Run the below command to install Composer dependencies
docker run --rm \ -u "$(id -u):$(id -g)" \ -v $(pwd):/var/www/html \ -w /var/www/html \ laravelsail/php81-composer:latest \ composer install --ignore-platform-reqs
- Run
./vendor/bin/sail up -d
- Run
./vendor/bin/sail artisan migrate --seed
- Run
./vendor/bin/sail npm install
- Run
./vendor/bin/sail npm run prod
or./vendor/bin/sail npm run watch
sail
is equivalent of docker-compose
, read laravel/sail
doc.
#
Without Docker- Run
cp .env.example .env
- Run
composer install
- Provide db name, username and password in .env
- Run
php artisan migrate --seed
- Run
npm install
- Run
npm run prod
ornpm run watch
Admin credentials:
Email: admin@admin.comPassword: 12345