Skip to content
/ core Public
forked from fastpanel/core

The main core of the "fastPanel" system.

License

Notifications You must be signed in to change notification settings

jnreis/core

 
 

Repository files navigation

fastPanel Core.

The main core of the "fastPanel" system.


Env

  # 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'

Commands

setup

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

Events

watchdog

The event is triggered every second. Be extremely careful USE OF THE EVENTS.

  this.events.on('watchdog', (app: Application) => {});

cli:getCommands

The event is triggered when the application is ready to register console commands.

  this.events.once('cli:getCommands', (cli: Caporal) => {});

License

The MIT License (MIT)


Copyright

(c) 2014 - 2019 Desionlab

About

The main core of the "fastPanel" system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.3%
  • TypeScript 46.7%