Skip to content
yeoman + cowboy = saloon
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
templates
test
.dir-locals.el
.editorconfig
.gitignore
.travis.yml
CHANGES.md
LICENSE
README.md
package.json

README.md

generator-saloon

Build Status

Yeoman + Cowboy = Saloon !

Saloon is a yeoman generator for building cowboy-based web app.

A saloon contains:

  • Backend:
    • erlang/OTP cowboy (version 2)
    • cowboy-swagger: integrates cowboy with swagger (patched for cowboy 2)
  • Frontend:
    • Angular.js, with some fancy modules: route, touch, resource (see priv/www/bower.json);
    • Bower for managing Javascript dependancies;
    • Bootstrap SASS for easy HTML
  • Build system: GNU make + erlang.mk

Dependencies

  • yeoman-generator >= 0.18.0
  • mustache >= 2.2.1
  • bower
  • GNU make

Quickstart

  1. Install npm (see nvm for easy Node.js + npm install)
  2. Install yeoman and this generator
$ npm install -g yo generator-saloon
  1. Create a folder for your app
$ mkdir $HOME/myapp
  1. Call yeoman to create your app:
$ cd $HOME/myapp && yo saloon
  1. You can now build your app and start it:
$ make && ./start.sh
  1. You app is running and accessible on port 8080.

TODO

  • Generates a nice(r) frontend
  • Integrates a data model (JHipster ? OCCI ?)
You can’t perform that action at this time.