Skip to main content

Prerequisites

  • Laravel Herd installed
  • Git installed
  • Flux Pro credentials (for Livewire components)

Installation Steps

1. Clone the repository

2. Install PHP dependencies

Note: You’ll be prompted for Flux Pro credentials during installation

3. Install JavaScript dependencies

4. Set up environment file

5. Create local database

Create a new MySQL database named growth_method:
Note: Latest major version of MySQL 8 is fine

6. Configure database connection

Update your .env file with:

7. Start Vite development server

Keep this running in a separate terminal tab

8. Access your application

Your site will be available at: http://growth-method.test

Optional: Pull Production Database

If you need production data locally: Use TablePlus, or export from Forge using the command below

Import locally

Use TablePlus or import to Forge using the command below

Local .ENV

Switch the filesystem to local storage
Switch the Laravel Scout driver (used with Algolia for search indexing) to null
If your application uses file uploads: bash
This creates a symbolic link from public/storage to storage/app/public.

Troubleshooting

Assets not loading? Make sure npm 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