The main core of the "fastPanel" system.
# Defines the current environment.
# Can be: "develop", "staging", "production".
NODE_ENV='develop'
# Defines app settings.
APP_NAME='fastPanel'
APP_CLI_BIN='node build/cli.js'
# Defines a folder structure of the application.
APP_PATH='App'
CONFIG_PATH='App/Config'
LOGGER_PATH='App/Logs'
Configure components.
Options:
--help Output usage information.
-e, --env Save as current environment settings.
-f, --force Forced reconfiguration of components.
node build/cli.js setup
The event is triggered every second. Be extremely careful USE OF THE EVENTS.
this.events.on('watchdog', (app: Application) => {});
The event is triggered when the application is ready to register console commands.
this.events.once('cli:getCommands', (cli: Caporal) => {});
The MIT License (MIT)
(c) 2014 - 2019 Desionlab