Skip to content

ismayilibrahimov/minicrm

Repository files navigation

Prerequisite

  • mysql v8.0.23
  • php v7.4.21
  • composer v2.1.3
  • node v14.16.0

Installation

git clone https://github.com/ismayilibrahimov/minicrm.git
cd minicrm
composer install
npm install
npm run dev

create .env file by coping .env.example file. after that run this command

php artisan key:generate

create database at mysql

mysql -u root -p
create database minicrm;

add database credentials to .env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=minicrm
DB_USERNAME=root
DB_PASSWORD=yourpassword

Mail Setup

add your mail credentials to .env file

MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=yourmail@gmail.com
MAIL_PASSWORD=yourpassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=yourmail@gmail.com

Usage

run this commands at your console

php artisan migrate
php artisan db:seed --class=UserSeeder
php artisan storage:link
php artisan serve