Development

To start development you will need the following tools:

Project organization

This repository contains 2 pieces:

Starting up the project

You have to install nvm and mongodb first.

After pulling a repo, run the following set of commands. It should install all components and build, and run the project. In console you will see address like Listening on http://0.0.0.0:8914. Now you can open this URL in browser and create first user.

nvm install
nvm use
npm install

# this will start the project and watch for source file changes
npm run dev

Development process

I recommend to use modern IDE (WebStorm/PHPStrorm) with enabled Google Closure Linter.

When you start gulp, it will create newer project build version and store it to server/public/version.txt. Make sure that Node server will start after Gulp, otherwise you will stuck with older version of compiled code.