Is cb_admin still working?

67 views
Skip to first unread message

Yuriy Shirokov

unread,
Nov 3, 2014, 6:42:29 PM11/3/14
to chica...@googlegroups.com
Hi!

I cannot reproduce steps to set up cb_admin in "An Evening With Chicago Boss" tutorial (https://github.com/ChicagoBoss/ChicagoBoss/wiki/An-Evening-With-Chicago-Boss#ii5-essential-tricks-admin-and-doc). Admin interface is running well in standalone mode, but in tutorial application request to http://127.0.0.1:8001/admin/ gives me an error: "No routes matched the requested URL. Additionally, no handler was found for processing 404 errors..." in browser and "02:15:07.590 [error] GET /admin/ [evening] 404 0ms" error message in server console.

In fact, error was already reported about a month ago (in message https://groups.google.com/forum/#!topic/chicagoboss/S2KDAbd-nCo). Although "another computer" was mentioned in the subject, I have the same error on local machine, with address 127.0.0.1.

May be in recent version of ChicagoBoss I really have to modify routes or do something else not mentioned in the tutorial?

Thanks!

Caiyun Deng

unread,
Nov 3, 2014, 8:49:33 PM11/3/14
to chica...@googlegroups.com
In my application, it works!

在 2014年11月4日星期二UTC+8上午7时42分29秒,Yuriy Shirokov写道:

chan sisowath

unread,
Nov 3, 2014, 10:11:46 PM11/3/14
to chica...@googlegroups.com
hi,

can you check cb_admin/ebin ?

if you don't see any *.beam file there,
then you might need to compile cb_admin. 

how to compile?:

 cd cb_admin ; ./rebar boss c=compile

for info ./init-dev.sh recompile only the current application without emitting any beam file as far as i know

chan



--
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/15b07e8a-5b34-420d-b8d3-67c477c323f6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Yuriy Shirokov

unread,
Nov 4, 2014, 8:56:47 AM11/4/14
to chica...@googlegroups.com
Hi!

It probably was some local misconfiguration: I tried cb_admin with the same project on another machine, and all worked fine. I copied all generated files (deps/ etc.) to the initial machine, and after "./rebar clean; ./rebar compile" the error has gone. Thanks for your answers and sorry for false alarm.
Reply all
Reply to author
Forward
0 new messages