к каталогу

📦 intellij-elixir/ KronicDeth

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)

Открыть на GitHubобновлён 2д назад
Звёзды
1.9k
Форки
163
За неделю
За месяц
Рост %
Язык
Kotlin

Установка и запуск

Run/Debug Configurations

Distillery Release CLI

Distillery's mix release produces a CLI for running the release.

  1. Build the release: mix release

    ==> Release successfully built!
        You can run it in one of the following ways:
          Interactive: _build/ENV/rel/NAME/bin/NAME console
          Foreground: _build/ENV/rel/NAME/bin/NAME foreground
          Daemon: _build/ENV/rel/NAME/bin/NAME start
    
  2. Run > Edit Configurations...

  3. Click +

  4. Select "Distillery Release CLI"

  5. Fill in the "Release CLI Path" with the full path to the _build/ENV/rel/NAME/bin/NAME path produed by mix release above.

  6. Fill in the "Release CLI arguments".

    • console runs a shell with the release loaded similar to iex -S mix.
    • foreground to runs the release without a shell, like mix or mix run. The available commands are controlled by your release config rel/config.exs that Distillery uses.
  7. (Optionally) fill in "erl arguments" with arguments to erl before it runs elixir. This is the same as the ERL_OPTS environment variable supported by Distillery.

  8. (Optionally) fill in "elixir -extra arguments" with arguments to pass to elixir before it run the release. This is the same as the EXTRA_OPTS environment variable supported by Distillery.

  9. (Optionally) change the Code Loading Mode This is the same as the CODE_LOADING_MODE environment variable supported by Distillery.

    • Use Default - use whatever is configured in rel/config.exs. Don't set CODE_LOADING_MODE environment variable.
    • embedded - load all code immediately on boot. Set CODE_LOADING_MODE=embedded.
    • interactive - load code on-demand as it is

Из README репозитория · полный README на GitHub

Категории

Теги

androidstudioappcodecliondatagrip-ideeditoreditor-pluginelixirelixir-mixelixir-plugingoglandhacktoberfestideintellij-pluginjavajetbrainsmixpycharmrubyminewebstorm