Skip to content

carosio/unimux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniMux Build Status Coverage Status

UniMux applciation for routing hello-based requests.

Minimal requirements are:

  • erlang >= 17 (better 17.5)
  • elixir >= 1.0 (1.1.0-dev)
  • Apple Bonjour or a compatible API such as Avahi with it's compatibility layer along with the appropriate development files:
    • OS X - bundled
    • Windows - Bonjour SDK
    • BSD/Linux - search for Avahi in your operating systems software manager

If you install erlang on Ubuntu, install aditionally:

  • erlang-parsetools
  • erlang-eunit

Build an application:

$> mix do deps.get, compile

Start an interactive shell with application:

$> iex -S mix

Dev configuration is placed on config/config.exs

Release configuration is placed here: unimux.conf, but should not changed manuelly, instead change the schema: unimux.schema.exs and regenerate the configuration with:

$> mix conform.configure

Build an test release locally:

$> MIX_ENV=prod mix release

See more information about releases here: exrm and relx

Build release on builder, which does download dependencies for you, use release enviroment, which overwrites the pathes to deps/<app>

$> MIX_ENV=release mix release

Building the documentation:

$> mix docs