https://laravel.com/docs/10.x/installation#laravel-and-docker To setup the app and run it locally please follow these steps
-
docker run --rm \ -u "$(id -u):$(id -g)" \ -v "$(pwd):/var/www/html" \ -w /var/www/html \ laravelsail/php82-composer:latest \ composer install --ignore-platform-reqs
-
./vendor/bin/sail up -d
-
./vendor/bin/sail migrate
-
./vendor/bin/sail yarn install
-
./vendor/bin/sail yarn dev
Importing feedback through the example CSV file and sending the mail with the attached json of the imported data to the admin user: (no time constraint in local env)
./vendor/bin/sail artisan schedule:run
The email sent should then appear on localhost:1025
.
Access localhost
to create a simple feedback entry in the application.
Access localhost/login
and log in to access the dashboard (localhost/dashboard
) and import the CSV file in the application.