[英]Adding cb_admin to current ChicagoBoss installation
I'm starting with ChicagoBoss
as well 我也是从ChicagoBoss
开始
I just installed ChicagoBoss
following the github instructions. 我只是按照github的说明安装了ChicagoBoss
。
Then, I created a project: 然后,我创建了一个项目:
make
make app PROJECT=myproject
cd ../myproject
Everything's cool so far, now, I want to add the admin interface such as cb_admin
, so I add to myproject
rebar.conf this line {cb_admin, ".*", {git, "git://github.com/ChicagoBoss/cb_admin.git", "HEAD"}}
so it will become: 一切都很酷,到目前为止,现在,我想将添加管理界面 ,如cb_admin
,所以我加入myproject
rebar.conf这一行{cb_admin, ".*", {git, "git://github.com/ChicagoBoss/cb_admin.git", "HEAD"}}
因此它将变为:
{deps, [
{boss, ".*", {git, "https://github.com/ChicagoBoss/ChicagoBoss.git", {tag, "v0.9.beta-1"}}}
{cb_admin, ".*", {git, "git://github.com/ChicagoBoss/cb_admin.git", "HEAD"}}
]}.
{plugin_dir, ["priv/rebar"]}.
{plugins, [boss_plugin]}.
{eunit_compile_opts, [{src_dirs, ["src/test"]}]}.
{lib_dirs, ["../ChicagoBoss/deps/elixir/lib"]}.
So I run ./rebar get-deps compile
, but it keeps throwing me this error: 所以我运行./rebar get-deps compile
,但是它一直让我抛出这个错误:
ERROR: Failed to load /home/kristian/erlang-projects/myproject /rebar.config: {error,
{3,
erl_parse,
["syntax error before: ",
"'{'"]}}
Please, anybody has an idea about this? 拜托,有人对此有想法吗?
My erlang version is 19
我的erlang版本是19
Thanks in advance 提前致谢
I believe you are missing a comma (,) after your 我相信您在输入后缺少逗号(,)
{boss, ".*", {git, "https://github.com/ChicagoBoss/ChicagoBoss.git", {tag, "v0.9.beta-1"}}}
your error message indicates a syntax error on line 3, and I can see there is no comma between these two dependencies. 您的错误消息表明第3行出现语法错误,我可以看到这两个依赖项之间没有逗号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.