mix app.start View Source

Starts all registered apps.

The application is started by default as temporary. In case :start_permanent is set to true in your project configuration or the --permanent option is given, it is started as permanent, which guarantees the node will shut down if the application crashes permanently.

Configuration

  • :start_permanent - the application and all of its children applications are started in permanent mode. Defaults to false.

  • :consolidate_protocols - when true, loads consolidated protocols before start. The default value is true.

  • :elixir - matches the current Elixir version against the given requirement

Command line options

  • --force - forces compilation regardless of compilation times
  • --temporary - starts the application as temporary
  • --permanent - starts the application as permanent
  • --preload-modules - preloads all modules defined in applications
  • --no-compile - does not compile even if files require compilation
  • --no-protocols - does not load consolidated protocols
  • --no-archives-check - does not check archives
  • --no-deps-check - does not check dependencies
  • --no-elixir-version-check - does not check Elixir version
  • --no-start - does not start applications after compilation