Skip to content

Commit 6c934c3

Browse files
authored
Update README.md
1 parent de56f09 commit 6c934c3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ You can choose either one for your development
4343

4444
### Usage
4545

46+
## Option 1
47+
4648
1. Install using composer
4749

4850
```
@@ -58,6 +60,22 @@ composer create-project nilanth/laravel-react-boilerplate
5860
8. Run `yarn run dev`
5961
9. Update API HOST_URL in `resources/js/config/constant.js` file
6062

63+
## Option 2
64+
65+
66+
- Clone this Repo
67+
- `cd laravel-react-boilerplate`
68+
- Create a .env by copying .env.example and Update the required fields.
69+
- Run `composer install`
70+
- Run `php artisan key:gen`
71+
- Run `yarn install`
72+
- Create a Database
73+
- Update the Database credential to .env file
74+
- Run `php artisan migrate` -> To create needed tables.
75+
- Run `php artisan db:seed` -> To seed some fake users.
76+
- Run `yarn run dev`
77+
- Update API HOST_URL in `resources/js/config/constant.js` file
78+
6179
### Coming Up
6280

6381
- Tests

0 commit comments

Comments
 (0)