This is a laravel project with a vue.js frontend.
- copy .env.example to .env
composer install
npm install
php artisan migrate
git submodule sync --recursive
git submodule update --init --recursive
cd resources/vue-beautiful-chat
npm install
cd ../../
npm run dev
npm install -g laravel-echo-server
laravel-echo-server init
- Newly created laravel-echo-server.json might need some adjustments
- Start server
laravel-echo-server start
BROADCAST_DRIVER=redis QUEUE_DRIVER=redis CACHE_DRIVER=file QUEUE_CONNECTION=redis SESSION_DRIVER=file SESSION_LIFETIME=120
php artisan queue:listen
php artisan db:seed --class=UserSeeder
- This will generate 3 Users:
- All of them will have the password "admin"
- 1.) User: admin@score.de | Role: Admin
- 2.) User: user@score.de | Role: Student
- 3.) User: team@score.de | Role: Team