Adding applications

41 views
Skip to first unread message

Chandru

unread,
May 28, 2012, 5:56:49 PM5/28/12
to nitro...@googlegroups.com
Hi all,

I want to add some extra applications to the release file which is generated by nitrogen. I've located it under releases/2.0.4/nitrogen.rel - but how do I build the boot file? I've tried 'systools:make_script("releases/2.0.4/nitrogen")' within the running nitrogen node....but that didn't work. Any clues?

Chandru

Jesse Gumm

unread,
May 29, 2012, 12:51:21 AM5/29/12
to nitro...@googlegroups.com
Hey Chandru,

Have you tried adding them as rebar dependencies?

Check the rebar.config file. That's how I add all my additional
dependency applications.

-Jesse
> --
> You received this message because you are subscribed to the Google Groups
> "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
> To post to this group, send email to nitro...@googlegroups.com.
> To unsubscribe from this group, send email to
> nitrogenweb...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nitrogenweb?hl=en.



--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm

Chandru

unread,
May 30, 2012, 12:55:21 AM5/30/12
to nitro...@googlegroups.com
Thanks Jesse. Dumb question: do I just create this file?

Here is the background. I downloaded Nitrogen sources, unpacked and did 'make rel_inets'. Erlang/OTP is installed under /usr/local/

My rebar.config looks like this currently.

~/nitrogen-2.0.4/rel/nitrogen$ more rebar.config
{deps_dir, "deps"}.

{deps, [ibrowse, audit_log]}.

I tried 'make package_inets', but that has wiped out all the files I put into nitrogen/site! Luckily I had the sources in git elsewhere.

What next?

cheers
Chandru

Jesse Gumm

unread,
May 30, 2012, 11:40:43 AM5/30/12
to nitro...@googlegroups.com
No worries!

I would recommend putting your rebar.config into your
nitrogen/rel/nitrogen directory.

Then a simple `make` should do the trick for you.

-Jesse
Reply all
Reply to author
Forward
0 new messages