Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ Copy the `.env` file an create an application key
```
cp .env.example .env && php artisan key:generate
```
Larapi comes with Passport, included as the default authenticatin method. The Passport service provider registers its own database migration directory with the framework, so firstly you should migrate your database by running `migrate` command before running `passport:install` command. The Passport migrations will create the tables your application needs to store clients and access tokens. ( [more details on passport installation](https://laravel.com/docs/5.4/passport#installation) )

Larapi comes with Passport include as the default authenticatin method. You should now install it using this command.
```
php artisan migrate
```

After running the migration, you should now install it using this command.

```
php artisan passport:install
Expand All @@ -61,11 +66,7 @@ PASSWORD_CLIENT_SECRET=FJWQRS3PQj6atM6fz5f6AtDboo59toGplcuUYrKL

If you want to save it elsewhere or change the naming be sure to modify the LoginProxy in `infrastructure/Auth/LoginProxy.php`

Lastly, migrate the database tables

```
php artisan migrate
```
Finally,the installation has completed, ready for testing.

## Test installation

Expand Down Expand Up @@ -112,4 +113,4 @@ Please see [CONTRIBUTING](https://github.com/esbenp/architect/blob/master/CONTRI

## License

The MIT License (MIT). Please see [License File](https://github.com/esbenp/architect/blob/master/LICENSE) for more information.
The MIT License (MIT). Please see [License File](https://github.com/esbenp/architect/blob/master/LICENSE) for more information.