-
Notifications
You must be signed in to change notification settings - Fork 3
Setup & Coding guidelines
Julius Zeidler edited this page Nov 24, 2013
·
1 revision
-
Install node.js
-
Install mongoDB
-
check out the repository to your harddrive
-
Do an
npm install
while being in the repository folder -
grunt watch
will start the automated JSHinting and CSS creation. -
node app.js
will start a webserver on port 3000 you can watch the frontend at.
-
We use 2 spaces for indentation
-
Use proper indentation!
-
A function should look like this:
function (args) { // Content }
-
Function names are camelCase.
-
CSS-classes use hypens.
-
Don't use describing CSS-Classes such as "red", but "primary, danger, alert, etc".