Skip to content

Social Network Spoof to play around with ChicagoBoss and Erlang

Notifications You must be signed in to change notification settings

nickmcdowall/bff

Repository files navigation

bff - (4 eva and eva)

Created a 'Social Network' spoof for playing with ChicagoBoss and Erlang

What you waiting for??

Install Erlang

``` http://www.erlang.org/download.html ```

Setup ChicagoBoss

Choose a development directory to download the applications. From that directory run: ``` git clone https://github.com/evanmiller/ChicagoBoss.git cd ChicagoBoss make ```

Setup ChicagoBoss Admin

Download and compile the admin application into the development directory: ``` cd .. git clone https://github.com/evanmiller/cb_admin.git cd cb_admin ./rebar compile ```

Setup bff

Download the bff application into the development directory ``` cd .. git clone git@github.com:nickmcdowall/bff.git ```

Start up bff in dev mode

``` cd bff ./init-dev.sh start ```

Crank up the server..

You should now be able to hit the home page: http://localhost:8001/ and the admin page: http://localhost:8001/admin

To quickly setup a dummy user run this in the console:

dummy_data:load("bob").

This will create a user called bob with password bob.

Functional Tests

To run the functional tests make sure the app is running; Open another terminal; run the following command from within the bff root directory: ```./rebar boss c=test_functional```

About

Social Network Spoof to play around with ChicagoBoss and Erlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published