Warning this app was my first interaction with the Laravel filesystem and Livewire, so there is a very high likelyhood that it contains lots of bugs!!!
A simple website that allows users to upload their own pictures, after approval the picture appears on the gallery on the homepage.
This website is built using Livewire, Laravel 8 and Jetstream
First you need to edit the .env to your needs. The default .env should be fine to use
cp .env.example .env
Warning you'll need to edit the docker-compose.json so the app runs on the right port.
Run the docker compose up -d command
sudo docker-compose up -d
Set the right file permissions
sudo chown -R www:www *
After this you'll need to install the composer depencencies
sudo docker exec <container_name> composer install --optimize-autoloader --no-dev
Generate an app key
sudo docker exec <container_name> php artisan key:generate
Link the storage driver to the public folder so images are publicly viewable
sudo docker exec <container_name> php artisan storage:link
Please refer to https://laravel.com/docs/8.x/deployment for further optimizations of the Laravel application