• Stars
    star
    67
  • Rank 462,595 (Top 10 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 13 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Admin interface for Chicago Boss

cb_admin

This is the admin interface for Chicago Boss, which can be configured as a standalone application with CB 0.6 or later.

Installation as a standalone server

Check your boss.config and make sure that the path's are correct, defaults to ./deps/boss (framework) and ../cb_admin (the checkout dir).

Then in *nix:

./rebar get-deps compile
./init.sh start

In Windows:

rebar get-deps compile
start-server.bat

Then visit http://localhost:8001/admin

Installation with an existing CB server

Add to rebar.config

{deps, [
  % ...
  {cb_admin, ".*", {git, "git://github.com/ChicagoBoss/cb_admin.git", "HEAD"}}
]}.

And add something like this to your boss.config:

[{boss, [
    {applications, [cb_admin, ...]},
    ...
]},
{cb_admin, [
    {path, "./deps/cb_admin"},
    {allow_ip_blocks, ["127.0.0.1"]},
    {base_url, "/admin"}
]}].

Run to fetch and compile cb_admin

./rebar get-deps compile
./init-dev.sh