Prerequisites
- Laravel Herd installed
- Git installed
- Flux Pro credentials (for Livewire components)
Installation Steps
1. Clone the repository
2. Install PHP dependencies
3. Install JavaScript dependencies
4. Set up environment file
5. Create local database
Create a new MySQL database namedgrowth_method:
6. Configure database connection
Update your.env file with:
7. Start Vite development server
8. Access your application
Your site will be available at:http://growth-method.test
Optional: Pull Production Database
If you need production data locally:Export from Forge server
bashDownload and import locally
bashOptional: Link Storage
If your application uses file uploads: bashpublic/storage to storage/app/public.
Troubleshooting
Assets not loading? Make surenpm run dev is running
Database connection failed? Verify MySQL is running in Herd and database credentials are correct
Permission errors? Ensure storage/ and bootstrap/cache/ directories are writable