Skip to content

Installation

Nasir Khan Saikat edited this page Jan 4, 2021 · 8 revisions

Follow the steps mentioned below to install and run the project.

  1. Clone or download the repository
  2. Go to the project directory and run composer install
  3. Create .env file by copying the .env.example. You may use the command to do that cp .env.example .env
  4. Update the database name and credentials in .env file
  5. Run the command php artisan migrate --seed
  6. Link storage directory: php artisan storage:link
  7. You may create a virtualhost entry to access the application or run php artisan serve from the project root and visit http://127.0.0.1:8000

When the installation has been completed you may access the backend with the following credentials.

User: super@admin.com
Pass: secret

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

php artisan cache:forget spatie.permission.cache

Clone this wiki locally