Posts

Showing posts from September, 2015

Release with exrm in Elixir

Hi All :) I'm using exrm (https://github.com/bitwalker/exrm) for releasing process. It's quite nice library. Even I don't actually know what it done behind (digging it now). Notice that some important issue is about if your application cannot start because some thing or function is invalid or cannot not load but you sure that you put it in mix.exs in deps list. So this https://exrm.readme.io/docs/common-issues will inform us to put it in mix.exs in applications list, too. Even i don't understand why, because in elixir's doc of mix's topic said if app implemented by use "Application" behaviour. They should be put in mix.exs application list. But chronos's code doesn't seem to implement with "Application" behaviour. Anyway i tried put it in that list, and its work!!.

The beginning of my's Elixir

Introduction I just start new job. All work I assigned about elixir. Currently, i'm working on replacing rail's service with elixir( use phoenix framework as api endpoint ). It's quite good now because I came from python's background. Elixir 's Installation - We need erlang installed [linux] sudo apt-get install erlang [osx] brew install erlang Then [linux] Goto https://www.erlang-solutions.com/downloads/download-elixir, you may download deb file for ubuntu or whatever distro you have. [osx] brew install elixir [ping me, if i'm wrong :p] If you come to this line, let's >> mix help mix                   # Run the default task (current: mix run) mix app.start         # Start all registered apps mix archive           # List all archives mix archive.build     # Archive this project into a .ez file mix archive.install   # Install an archive locally mix archive.uninstall # Uninstall archives mix clean             # Delete generated appli