Last active
September 28, 2015 23:27
-
-
Save woledzki/1512137 to your computer and use it in GitHub Desktop.
How to run hoborgLabs dashboard from phar file
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
<?php | |
$rootPath = getenv('DASHBOARD_ROOT') ? getenv('DASHBOARD_ROOT') : __DIR__ . '/..'; | |
require_once "{$rootPath}/dashboard.phar"; | |
$kernel = new \Hoborg\Dashboard\Kernel($rootPath); | |
$kernel->setDefaultParam('conf', 'demo'); | |
$kernel->handle(array_merge($_GET, $_POST)); |
doh!... whole get.hoborglabs.com is down. I'm investigating now.
should be back now.
btw. composer.json is coming soon, and new features.
Let me know if you need any help with installation/configuration.
trello board: https://trello.com/board/dashboard/4ea7062eaed5f360a418c6f5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the phar file is no longer available?