generator-saloon
Yeoman + Cowboy = Saloon !
Saloon is a yeoman generator for building cowboy-based web app.
A saloon contains:
- Backend:
- 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
- Install npm (see nvm for easy Node.js + npm install)
- Install yeoman and this generator
$ npm install -g yo generator-saloon
- Create a folder for your app
$ mkdir $HOME/myapp
- Call yeoman to create your app:
$ cd $HOME/myapp && yo saloon
- You can now build your app and start it:
$ make && ./start.sh
- You app is running and accessible on port 8080.
TODO
- Generates a nice(r) frontend
- Integrates a data model (JHipster ? OCCI ?)