Skip to main content

Windows

Local Dev Setup - Using Laragon

Prerequisites

  • Laragon
  • Git
  • Access to the git cloud repository (Reach out to team for access)
  • Current ENV File (Connect with Team Member that has Delta Set up on their local host)

Set Up Steps

  1. Clone The Repo to your local Dev from the Cloud Source Control (NB Clone code to folder called Delta)
  2. Install Laragon
  3. Update where Laragon should read the code from: Laragon file location File Location
  4. Check and add missing services needed to run application Add missing services
  5. Ensure the correct version of PHP will be used in your Laragon environment. If it isn’t there follow the link to see how to add a different version of PHP Select PHP version
  6. If you haven’t all ready - open the code repo on your local dev and add the .env file as previously obtained from a colleague. Add env file
  7. Start Laragon Start services
  8. Create a database Create a database Database ide Manage database
  9. Add Database details to ENV Database details Database config
  10. Update Redis Details in ENV Redis config
  11. We can now commence with the Repo Readme steps - ensure that your console is pointing to the delta parent folder.
    1. composer install
    2. npm install
    3. php artisan migrate
    4. php artisan db:seed
    5. php artisan key:gen
    6. npm run dev (Launches Vite Server)
  12. Update your Hosts File Update hosts file Hosts file
  13. Ensure you’ve enabled SSL on you apache server (Right click on Laragon UI) Enable SSL
  14. Finally hit your local site
Local Site
Notes: You may need to connect with the team to get your Auth0 set up so you can log in to local host via it.