Copy .env.example to .env
cp .env.exmple .env
Run Laravel Sail to run the docker containers
./vendor/bin/sail up
Or to run in detached mode:
./vendor/bin/sail up -d
Install composer packages
./vendor/bin/sail composer install
Run database migrations
./vendor/bin/sail artisan migrate
Run Larastan for static analysis
./vendor/bin/sail composer analyse
Install NPM dependencies
./vendor/bin/sail npm install
Run Vite to compile and watch our fontend assets
./vendor/bin/sail npm run dev
- PHP - Server side web programming language.
- Laravel - Batteries included full stack PHP framework.
- PostgreSQL - Relational Database.
- Vue - Frontend UI and interactivity.
- Inertia - Easy single page apps with SSR with Laravel and Vue.
- Vite - Frontend build tool.
- Radix UI - Unstyled component Library.
- Tailwind - CSS Styling framework.
- Shadcn - Styled Radix UI components with Tailwind.
- TypeScript - Typed JavaScript.
- Docker - Containers for local development and production deployments.
- Laravel Sail - To manage Docker containers for local development.
- Ollama - Open source LLMs.
https://github.com/barryvdh/laravel-ide-helper?tab=readme-ov-file#usage
Run the following commands to generate the IDE helper files
./vendor/bin/sail artisan ide-helper:generate - PHPDoc generation for Laravel Facades
./vendor/bin/sail artisan ide-helper:models - PHPDocs for models
./vendor/bin/sail artisan ide-helper:meta - PhpStorm Meta file
Or all together
./vendor/bin/sail artisan ide-helper:generate && ./vendor/bin/sail artisan ide-helper:models && ./vendor/bin/sail artisan ide-helper:meta
To update a specific model
./vendor/bin/sail artisan ide-helper:models "App\Models\User"