Skip to content

Latest commit

 

History

History
executable file
·
63 lines (43 loc) · 832 Bytes

README.md

File metadata and controls

executable file
·
63 lines (43 loc) · 832 Bytes

Laravel

Installation

  • Create .env file through copy
cp .env.example .env
  • Install project dependencies
composer install
  • Generate laravel key for application to run
php artisan key:generate
  • Install nodejs dependencies
npm install
  • Provide database credentials below in .env file.
    DB_DATABASE=?
    DB_USERNAME=?
    DB_PASSWORD=?

Incase you want multidatabase connection then uncomment commented database and provide credentials

  • To run the project
php artisan key:generate
php artisan migrate --seed
  • Spin development servers
npm run dev
php artisan serve
  • Then check localhost:8000 or click the link provided on npm run dev and check your browser
localhost:8000