Skip to content
jeremyong edited this page Oct 15, 2012 · 10 revisions

An admin interface for ChicagoBoss is available as a separate application.

To install it please follow these steps:
https://github.com/evanmiller/cb_admin
$ git clone https://github.com/evanmiller/cb_admin.git

The directory where you checkout the code needs to be in the same directory that contains the Chicago Boss directory and should be called cb_admin.
$ cd cb_admin
$ rebar compile

If the `rebar compile` fails, check the path configuration to the `boss` application in `cb_admin/boss.config`. Then add an entry for the cb_admin application in your project configuration file:


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

You should now be able to point your browser at /admin.