PHP/Laravel: kickstart the app
Piotr
Sep 5, 2024
Create Project
composer create-project laravel/laravel <project_name>
cd <project_name>
Application Encryption Key
php artisan key:generate
Set proper group and privileges for the web server (nginx)
sudo chgrp -R www-data .
sudo chmod -R 775 ./storage
Fix privileges on files and folders (optional)
find . -type f -exec chmod 644 {} +
find ./storage -type d -exec chmod 775 {} +