Skip to content

Commit 23cccc3

Browse files
committed
Readme updated
1 parent c54c6ac commit 23cccc3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,28 @@ If you discover a security vulnerability within Laravel, please send an e-mail t
6464
## License
6565

6666
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
67+
68+
69+
70+
## Clone the repo
71+
72+
```sh
73+
git clone https://github.com/saurabh2k1/laravel_api.git
74+
cd laravel_api
75+
composer install
76+
```
77+
## create .env file by copying .env.example
78+
79+
```sh
80+
php artisan key:generate
81+
php artisan migrate:fresh
82+
83+
```
84+
- OR if you want seed the database with sample roles and permissions than
85+
86+
```sh
87+
php artisan migrate:fresh --seed --seeder=PermissionsSeeder
88+
```
89+
90+
91+

0 commit comments

Comments
 (0)