Skip to content

noplanb/zazo-notification

Repository files navigation

Zazo Notification service

wercker status

Stack

Setup

  1. Copy and update config with correct values:

     cp config/application.yml.example config/application.yml
    
  2. Install npm packages for development:

     npm install --global dredd aglio
    
  3. Then run server:

     bin/rails s
    

    or use Pow

     ln -s $PWD ~/.pow/zazo_notification
     open http://zazo_notification.dev
    

Specs

bin/rake spec

Dredd

bin/rake dredd

Docker

To build docker image

bin/rake docker:build

And run it:

bin/rake docker:run

API documentation

API Blueprint documentation stored in apiary.apib. The HTML formatted version generated to public/index.html.

To generate public/index.html run:

bin/rake aglio:generate

or for slate

bin/rake aglio:generate[slate]