Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoarandah committed Dec 13, 2017
1 parent d3fe1cb commit e1f1dec
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ https://github.com/Laravel-Backpack/Base
## Installation

composer require eduardoarandah/backpacklogviewer

php artisan log-viewer:publish --tag=config
php artisan vendor:publish --provider="EduardoArandaH\BackpackLogViewer\BackpackLogViewerServiceProvider"

This will install views in resources/views/vendor/log-viewer and config file config/log-viewer.php
This will install views in resources/views/vendor/log-viewer

## Configuration

Expand Down Expand Up @@ -57,8 +55,12 @@ add this line

## (Optional) Change URL

By default, log-viewer URL is http://website/log-viewer if you want to change to /admin
By default, log-viewer URL is http://website/log-viewer

To change it to /admin publish config file

php artisan log-viewer:publish --tag=config

in config/log-viewer.php file change your route:
Then, in config/log-viewer.php file change your route

'prefix' => 'admin/log-viewer',

0 comments on commit e1f1dec

Please sign in to comment.