Update README.md

This commit is contained in:
Khashayar Zavosh 2021-04-16 09:40:41 +04:30 committed by GitHub
parent dde39d5403
commit ae76b02364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -18,11 +18,9 @@ Admin littlelink is an admin panel for [littlelink] that provides you a website
```sh ```sh
composer create-project khashayarzavosh/admin-littlelink composer create-project khashayarzavosh/admin-littlelink
npm install
npm run dev
``` ```
- change .env.example to .env and edit .env file - edit .env file
DB_DATABASE=YOUR_DATABASE_NAME DB_DATABASE=YOUR_DATABASE_NAME
@ -30,10 +28,11 @@ DB_USERNAME=YOUR_USERNAME
DB_PASSWORD=YOUR_PASSWORD DB_PASSWORD=YOUR_PASSWORD
APP_NAME="Admin littlelink"
```sh ```sh
cd admin-littlelink
php artisan migrate php artisan migrate
php artisan key:generate
php artisan db:seed php artisan db:seed
(or commands below) (or commands below)
php artisan db:seed --class="AdminSeeder" php artisan db:seed --class="AdminSeeder"
@ -44,8 +43,6 @@ php artisan serve
- login: - login:
http://127.0.0.1:8000/login
email: admin@admin.com email: admin@admin.com
password: 12345678 password: 12345678