- Basic CRUD, Pusher RealTime, Upload File, Send Mail with Laravel 7
- Font-End use Bootstrap 4, jQuery
- Install PHP (PHP >= 7.0.0)
- Install Composer
$ git clone https://gitlab.com/hikoni/training-longnguyendai.git
- Move into project
movie-site
$ cd training-longnguyendai/Practice-project/movie-site
- Install
composer
packages$ composer install
- Create file .env
$ cp .env.example .env
- Rigister acount pusher
- Create your app
- Set for .env. file
PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=
- Database
- Create APP_KEY
$ php artisan key:generate
- Cache config
$ php artisan config:cache
- Make database
$ php artisan migrate
- Create acount Admin (email: admin@gmail.com - password: admin)
$ php artisan db:seed --class=AdminSeeder
$ php artisan serve