Created
September 18, 2017 08:35
-
-
Save derekphilipau/455ea1b842a72aee42d9c765d4418d3a to your computer and use it in GitHub Desktop.
laravel package dev using repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download or clone the https://github.com/derekphilipau/LogViewer | |
2. Create a new laravel installation. Generate application key. | |
3. In composer.json, add a filesystem repository: | |
``` | |
"repositories": [ | |
{ | |
"type": "path", | |
"url": "/Path/to/project/on/your/filesystem/LogViewer" | |
} | |
], | |
``` | |
4. Add in the filesystem LogViewer: | |
``` | |
composer require "arcanedev/log-viewer @dev" | |
``` | |
5. Publish the LogViewer files: | |
``` | |
artisan log-viewer:publish | |
``` | |
6. In config/app.php, set loggin to "daily": | |
``` | |
'log' => env('APP_LOG', 'daily'), | |
``` | |
7. In config/log-viewer.php, set theme to either bootstrap-3 or bootstrap-4: | |
``` | |
'theme' => 'bootstrap-3', | |
``` | |
8. View the website | |
``` | |
php artisan serve | |
``` | |
9. Open in browser: | |
``` | |
http://127.0.0.1:8000/log-viewer | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment