Skip to content

Development Environment

Up and running

We use Docker for the development, make sure you have it installed and running.

  • Clone/fork the repo.

  • Install composer and npm dependencies

    Install dependencies
    cp .env.example .env
    ./run compose:use dev
    ./run composerInstallInsideAnEphemeralContainer
    ./run compose:build-with-ids
    docker compose up -d
    ./run bash # Enter the container
    php artisan key:generate
    php artisan migrate:fresh --seed

    You should now be able to run the app in your browser.

  • Run Vite

    Run Vite development server
    ./run bash # Enter the container
    npm ci
    npm run dev
  • You should now be able to run the PHP tests.

    PHP Tests
    ./run bash # Enter the container
    composer test