Elixir

Framework
Elixir
Category
Languages
Publisher
Jetify
{
  "packages": {
    "elixir": "latest"
  },
  "env": {
    "MIX_HOME":   "$PWD/.nix-mix",
    "HEX_HOME":   "$PWD/.nix-hex",
    "ERL_AFLAGS": "-kernel shell_history enabled"
  },
  "shell": {
    "init_hook": [
      "mkdir -p .nix-mix",
      "mkdir -p .nix-hex",
      "mix local.hex --force",
      "mix local.rebar --force",
      "mix deps.get"
    ],
    "scripts": {
      "run_test": "mix run"
    }
  }
}

Elixir

Basic Elixir project using Mix in Devbox.

Configuration

This project configures Hex and Mix to install packages + dependencies in local project directories. You can modify where these packages are installed by changing the variables in conf/set-env.sh

Installation

To run the project: mix run

To create a release: mix release

Elixir Readme

If available in Hex, the package can be installed by adding elixir_hello to your list of dependencies in mix.exs:

def deps do
  [
    {:elixir_hello, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_hello.

README.md

Level up your dev environment

No need to switch your style. Devbox works with any coding language, so you can get results as you write.
PREPARE FOR LAUNCH

Plans for teams of any size

Jetify Cloud offers pricing plans for Solo Developers to Large Enterprises, and everything in between. All plans include free credits, and you are only billed for what you use. Need something custom? Contact our team and we can help.
YOUR INPUT COUNTS

Join the community

Discuss ideas, uses and builds with the Jetify team and others.