This project was setup using laravel, Inertia, and Vue.js. Herd is reccomended for the local laravel setup
Instructions to install herd are here: Herd
The best way to handle this setup is once herd is up and running, navigate to the project directory locally and run herd link
to link herd to that directory.
Node Version >= 20.0 PHP Version >= 8.0
- Clone repository to local device
- Composer install as well as node install
composer install
npm install
- Run
php artisan key:generate
to generate local app key - Setup local env file to match local setup, should only need your own db credentials
- If herd is successfully installed, you will need to add '.test' to the local APP_URL
APP_URL=http://localhost.test
- Run
php artisan migrate:fresh --seed
(may need to be re-run if duplicates are randomly created) - Run
npm run dev
to show project in web browser - Run
php artisan serve
to view the project
Herd is only available to Mac users, otherwise you can use a Docker environment. To do so id reccomend laravel sail.
Node Version >= 20.0 PHP Version >= 8.0
- Clone repository to local device
- Follow sail local setup: Sail Navigate to the 'Installing sail to existing applications'
- Composer install as well as node install
./vendor/bin/sail composer install
./vendor/bin/sail npm install
- Setup local env file to match local setup, should only need your own db credentials
- Run
./vendor/bin/sail artisan migrate:fresh --seed
(may need to be re-run if duplicates are randomly created) - Run
./vendor/bin/sail npm run dev
to show project in web browser
If the migrations ran and your projet built, you should be set!