-
Install composer packages
composer install
-
Install npm dependencies
yarn
-
Copy the env.example file to .env
cp .env.example .env
-
Generate encryption key (it used to hash user passwords)
php artisan key:generate
-
Run database migrations to create all required tables.
php artisan migrate
-
Build vite
yarn build
-
Build scripts
php artisan build:javascript
-
Create admin user
php artisan user:admin:create
-
Run vite
yarn dev
-
Run laravel server
php artisan serve
Please follow to our code style by using php-cs-fixer.
PLEASE type: vendor/bin/php-cs-fixer fix before commit.