Sadržaj
virtualmin check-config
add-apt-repository ppa:ondrej/php && apt-get update apt-get install php7.4-{cli,pdo,fpm,zip,gd,xml,mysql,cgi}
Instalacija Ventio - Events platforma
laravel8 :
- composer create-project --prefer-dist laravel/laravel ventio
Laravel Auth
- jet-stream : composer require laravel/jetstream
- php artisan jetstream:install livewire
https://github.com/laravel/fortify
Migracija USER tablice
- php artisan migrate
Compile i instalacija frontend zahtjeva
- npm install && npm run dev
NodeJS NPM update
- npm install -g npm
Laravel dozvole i prava na direktorije:
sudo chmod -R 777 /home/ventio/public_html/ventio sudo chown -R www-data:www-data /home/ventio/public_html/ventio sudo usermod -a -G www-data root sudo find /home/ventio/public_html/ventio -type f -exec chmod 644 {} ; sudo find /home/ventio/public_html/ventio -type d -exec chmod 755 {} ; sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache
Laravel okruženje - dodaci :
Debuger : composer require barryvdh/laravel-debugbar --dev
Mailovi, register i confirm
sendmail server -sendmail
'sendmail' => env('MAIL_SENDMAIL', '/usr/sbin/sendmail -bs')
Automatizacija i testiranje:
composer require --dev laravel/dusk - breka ostavljen dependency i instalacija
Datatables : composer require yajra/laravel-datatables-oracle:"~9.0"
Lokalizacija :
composer require laravel-lang/lang:~7.0 https://github.com/Laravel-Lang/lang
tailwindcss https://github.com/ChanceArthur/tailwindcss-dark-mode npm install tailwindcss-dark-mode --save-dev
https://heroicons.com/
Timezone: APP_TIMEZONE='Europe/Paris'
Auth laravel ui without jetstream
composer require laravel/ui