- Node.js - Download and Install Node.js, nodeschool has free node tutorials to get you started.
If you're using ubuntu this is the preffered repository to use...
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
$ sudo apt-get update
$ sudo apt-get install nodejs- Git - Get git using a package manager or download it.
- Node.js - Download and Install Node.js, nodeschool has free node tutorials to get you started.
- Git - The easiest way to install git and then run the rest of the commands through the git bash application is by downloading and installing Git for Windows
- Node.js - Download and Install Node.js or use the packages within brew or macports.
- git - Get git from here.
- This currently works with grunt..
$ npm install -g grunt-cli
Alternatively, when not using grunt (and for production environments) you can run:
$ node ./bin/wwwNODE_CONFIG_DIR is a directory that contains application configurations (default.json, development.json, production.json)
Then, open a browser and go to:
http://localhost:3000Sometimes you may find there is a weird error during install like npm's Error: ENOENT. Usually updating those tools to the latest version solves the issue.
- Updating NPM:
$ npm update -g npm- Updating Grunt:
$ npm update -g grunt-cliNPM has a caching system for holding packages that you already installed. We found that often cleaning the cache solves some troubles this system creates.
- NPM Clean Cache:
$ npm cache clean-
Install
apidocfrom here apiDoc -
Run ```bash $ apidoc -i app/routes/ -o apidoc/
* open index.html inside `apidoc` directory.
---
