AbdoelMadjid / lcps2024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Installer

  1. Download or clone project
git clone https://github.com/AbdoelMadjid/lcps2024.git
  1. Go to the folder application using cd
  2. Run composer install on your cmd or terminal
  3. Copy .env.example file to .env on root folder. You can type copy .env.example .env if using command prompt Windows or cp .env.example .env if using terminal Ubuntu
cp .env.example .env
  1. Open your .env file and change the database name (DB_DATABASE)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=root
DB_PASSWORD=
  1. Run php artisan key:generate
  2. Run
composer dump-autoload
  1. Clear your config cache
 php artisan optimize:clear

or

 php artisan config:clear
  1. Run php artisan migrate --seed
  2. To create a link from the storage directory, run the following command from the project root:
php artisan storage:link
  1. Run npm install

  2. Run npm run build

  3. Run php artisan serve to running your app in browser

After creating the new permissions use the following commands to update cashed permissions (optional).

php artisan cache:forget spatie.permission.cache

License

The Laravel framework is open-sourced software licensed under the MIT license.

About


Languages

Language:JavaScript 86.4%Language:Blade 6.0%Language:CSS 5.8%Language:PHP 1.5%Language:Hack 0.3%