Install on a debian system for development

As root, this commands install all required packages to use AND build gadael.

apt install mongodb nodejs-legacy git g++ gyp gcc make

npm install -g bower

As a user

git clone https://github.com/gadael/gadael

cd gadael

npm install

bower install

A script in provided to initialize the database:

node install.js gadael "Your company name" FR

First argument is the database name, default is gadael.
Second argument is your company name, default is "Gadael".
Third argument is the country code used to initialize the database, if not provided the leave rights list will be empty.

Run server

node app.js 3000 gadael

First argument is the http port
second argument is the database name

open http://localhost:3000 in your browser, you will be required to create an admin account on the first page.

Application listen on localhost only, an https reverse proxy will be necessary to open access to users.

The file config.example.js can be copied to config.js for further modifications.

Development

Install grunt as root

npm install -g grunt-cli

List of supported commands for development:

grunt --help

TODO

Add confirmation dialog for the right delete button

Verify that the mail "usercreated" is received by admin when a google account is created by login