Chicagoboss Production Mode without Source Code (.erl)

64 views
Skip to first unread message

Hilary Cheng

unread,
May 7, 2014, 4:15:07 AM5/7/14
to chica...@googlegroups.com
Hi all,

     Is there any instruction that I can put the my application into server without attaching source code ? Since I tried to remove all the those src directory from my project and let it run. But I cannot access my apps at Chicagoboss. I am already using "./init.sh start" to start the chicagoboss.

Regards,

Hilary

kotedo

unread,
May 7, 2014, 8:53:00 AM5/7/14
to chica...@googlegroups.com
Hi,

Did you compile the entire project?
Check your ebin directory for all needed files.

—Kai

--
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/1527f9a2-123c-4681-9797-e44acacceeb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hilary Cheng

unread,
May 7, 2014, 9:24:28 AM5/7/14
to chica...@googlegroups.com
Yes, I used "rebar compile", is it correct ? also, I found that the source under priv/init is not compiled....



--
You received this message because you are subscribed to a topic in the Google Groups "ChicagoBoss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chicagoboss/TAvSYmd8b1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chicagoboss...@googlegroups.com.

chan sisowath

unread,
May 7, 2014, 9:51:04 AM5/7/14
to chica...@googlegroups.com

Evgeny M

unread,
May 8, 2014, 8:09:02 AM5/8/14
to chica...@googlegroups.com
./rebar clean
./rebar compile all
You can use CB without sources, just keep the same layout of directories.
You have to keep .erl files from priv/rebar/ and ChicagoBoss/priv/rebar/ directories - these are plugins for rebar, they are recompiled on each run.
Also you have to keep .erl files from priv/init/ directory.
Rest erl files can be safely deleted.

if you have any additional apps with c_sources, you must recompile c sources on target machine.

среда, 7 мая 2014 г., 12:15:07 UTC+4 пользователь Hilary Cheng написал:

Hilary Cheng

unread,
May 8, 2014, 9:24:47 AM5/8/14
to chica...@googlegroups.com
Thanks a lot, I will try again later on.


--
You received this message because you are subscribed to a topic in the Google Groups "ChicagoBoss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chicagoboss/TAvSYmd8b1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
Reply all
Reply to author
Forward
0 new messages