Series of scripts that can be used to setup an InertiaJS application.
curl -s https://raw.githubusercontent.com/ohseesoftware/laravel-boilerplate-script/master/script.sh | sh
- Create a new Laravel application,
laravel new PROJECT_NAME
- Navigate to the directory,
cd PROJECT_NAME
- Run the script via curl:
curl -s https://raw.githubusercontent.com/ohseesoftware/laravel-boilerplate-script/master/script.sh | sh
- Add
InertiaServiceProvider
toconfig/app.php
- Update the
DB_DATABASE
in thephpunit.xml
to the name of your test database - Setup your
.env
file with your local development details - Migrate your database with
php artisan migrate
- Setup valet with
valet link