run command composer install (need to install spatie/laravel-permission and beyondcode/laravel-confirm-email)
update db schema and data.
Unfortunately old roles doest no longer supported, instead custom roles I use spatie/laravel-permission. So, for better migration please run command php artisan migrate:fresh --seed.
If database refreshing is impossible, instructions follow bellow:
run command php artisan migrate
run seeders php artisan db:seed --class=RolesAndPermissionsSeeder
Thet way of migrations will save users data, but old rolew will be broken. Need to update it mannually.
Also, for Privacy policy page run seeder php artisan db:seed --class=StaticPagesSeeder
run command npm run dev or npm run prod
Email notification use laravel queue for get rid of delays on frontend when backend sending emails.
Desirable use detabase driver for queue, to configure it change QUEUE_DRIVER=database line in file .env (see .env.example).
To run queue process run command php artisan queue:work
Also, for better stability use Supervisor and configure it for laravel queue (documentation)
UPD (09.11.2018):
updated .env.example file
added email confirmation
added notifications for users with role "admin" about user registration
fixed bug when user try sign-in (first time) via social auth and his email already exists in registered user
fixed style of social buttons
added queueing email notifications (old: reset password and all new: email validation and registration notifications emails)
merged master to auth and resolve conflicts for easier merging with master
Deploy instructions:
composer install
(need to install spatie/laravel-permission and beyondcode/laravel-confirm-email)php artisan migrate:fresh --seed
. If database refreshing is impossible, instructions follow bellow:php artisan migrate
php artisan db:seed --class=RolesAndPermissionsSeeder
Thet way of migrations will save users data, but old rolew will be broken. Need to update it mannually.Also, for Privacy policy page run seeder
php artisan db:seed --class=StaticPagesSeeder
npm run dev
ornpm run prod
Email notification use laravel queue for get rid of delays on frontend when backend sending emails. Desirable use detabase driver for queue, to configure it change
QUEUE_DRIVER=database
line in file .env (see .env.example). To run queue process run commandphp artisan queue:work
Also, for better stability use Supervisor and configure it for laravel queue (documentation)UPD (09.11.2018):