Ok, some progress!

I managed to build and run a release with relx.

-- relx.config --------------
{release, {myapp, "1.0.0"},
 [
  boss,
  boss_db,
  bson,
  cowboy,
  cowlib,
  crypto,
  dh_date,
  edown,
  epgsql,
  erlando,
  erlang_localtime,
  erlmc,
  erlware_commons,
  erlydtl,
  ets_cache,
  eunit_formatters,
  exec,
  gen_leader,
  gen_server2,
  gen_smtp,
  goldrush,
  gproc,
  ibrowse,
  jaderl,
  jsx,
  lager,
  lager_syslog,
  mimetypes,
  mochicow,
  mochiweb,
  myapp,
  {observer, load},
  os_mon,
  poolboy,
  protobuffs,
  qdate,
  ranch,
  rebar_vsn_plugin,
  redo,
  {runtime_tools, load},
  simple_bridge,
  syntax_tools,
  syslog,
  tiny_pq,
  tinymq,
  {wx, load}
]}.
{extended_start_script, true}.

{sys_config, "./boss.config"}.
{vm_args, "./vm.args"}.
----

-- vm.args ----------------
-setcookie somecookie
-name [email protected]
---------------------------------

It does require my fork of boss_db, which is getting somewhat ahead of
the CB one.  In particular, boss_db.app.src does not have a lot of its
dependencies listed in 'applications'.

So far it seems to run in production mode by default.

I think the list of stuff included needs some tuning, which I'll be doing.

This is definitely the direction to take for deployment, in my opinion.

-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CA%2Bb9R_ukaLi9MonCgUaOj0VyawQEiS0ihEBYhkXBEg1K8aRJOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to