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
andnpm
dependenciesInstall dependencies cp .env.example .env./run compose:use dev./run composerInstallInsideAnEphemeralContainer./run compose:build-with-idsdocker compose up -d./run bash # Enter the containerphp artisan key:generatephp artisan migrate:fresh --seedYou should now be able to run the app in your browser.
-
Run Vite
Run Vite development server ./run bash # Enter the containernpm cinpm run dev -
You should now be able to run the PHP tests.
PHP Tests ./run bash # Enter the containercomposer test