Clean Log Warnings, Enhance Runnability (#25)
* Only check the variable if it is set, avoid a log error. * Pipe errors to SDOUT in case that's why Docker is not showing NPM progress. * Two messages seemed very similar. Differentiate them. * Check and install each dependency separately in case a lighter version is already installed. * Don't require sudo if running as root. * Use node instead of relying on shebang. * Allow doing "npm start". * Remove redirects, did not help see progress. * Add a note when sudo is used. * Fix node interpretor location to be arbitrary. * Woops, need to keep advisories if the value is not set to false. * Remove warning about apt CLI. Allow npm start to do dependencies. * `npm start` is not magic, still need to run the install. * Have `npm start` execute the main run script rather than bypassing dependency checks. * Use PHP-CLI, smaller install size and more appropriate since only running local scripts.
This commit is contained in:
@ -8,6 +8,6 @@
|
||||
<?php
|
||||
include "banner.php";
|
||||
include "menu.php";
|
||||
if ($GLOBALS["ADVISORY"] !== false)
|
||||
if (!isset($GLOBALS["ADVISORY"]) || $GLOBALS["ADVISORY"] !== false)
|
||||
include "advisory.php";
|
||||
?>
|
||||
|
Reference in New Issue
Block a user