/movie-site

First project with Laravel 7

Primary LanguagePHP

movie-site

  • Basic CRUD, Pusher RealTime, Upload File, Send Mail with Laravel 7
  • Font-End use Bootstrap 4, jQuery

Install

Clone REPO

$ 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 

Config Pusher

  • Rigister acount pusher
  • Create your app
  • Set for .env. file
    PUSHER_APP_ID=
    PUSHER_APP_KEY=
    PUSHER_APP_SECRET=
    PUSHER_APP_CLUSTER=

Config .env

  • Database
  • Email

Requirements

  • 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 

Run project

$ php artisan serve