Combining CB with other apps

44 views
Skip to first unread message

Jan Willem Luiten

unread,
Jun 6, 2014, 8:44:22 AM6/6/14
to chica...@googlegroups.com
Hello,

I have a application and want to write a web-based UI and a ReST interface. I'm considering CB but cannot find any documentation on how to achieve this.

My existing app uses erlang.mk and relx. What needs to be done to run my existing app next to a CB app? Do I add my app as a dependency of the CB app? Or the other way around, add the CB app as a dependency to the existing app?

Kind reagrds,

Jan Willem Luiten

Jesse Gumm

unread,
Jun 9, 2014, 11:34:57 AM6/9/14
to chica...@googlegroups.com
Hi Jan,

The standard ChicagoBoss Application is created providing CB as a
rebar dependency. I realize that erlang.mk is growing in adoption, but
I haven't yet tinkered with it - does it resolve rebar dependencies?

The hard part is just making sure you have the dependencies, and try
making a sample application `make app PROJECT=my_project` to see what
it makes for you. Then you just need to copy the relevant files from
the CB app to your app, and you should be fine.

Or you could make a CB app that interfaces with your app, and then
specify THAT as a dependency - that *should* work, though may require
some finagling with dependencies and some hard paths.

Either way, it's possible, and either way requires putzing around with
config files/paths a little bit.

-Jesse
> --
> 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 chicagoboss...@googlegroups.com.
> 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/96208283-5dca-4669-afde-b64404e33440%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
Reply all
Reply to author
Forward
0 new messages