lychee/docs/Build.md
Ludovic Rousseau 7ce4677506 Use src/ instead of build/ directory
The dependency file package.json is in src/ so npm install should be run from there.

Also remove the extra ";" at the end of line. This is shell code, not JavaScript.
2015-07-05 19:12:12 +02:00

27 lines
790 B
Markdown

### Dependencies
First you have to install the following dependencies:
- `node` [Node.js](http://nodejs.org) v0.10 or later
- `npm` [Node Packaged Modules](https://www.npmjs.org)
- `bower` [Bower](http://bower.io)
- `gulp` [Gulp.js](http://gulpjs.com)
After [installing Node.js](http://nodejs.org) you can use the included `npm` package manager to install the global requirements and Lychee-dependencies with the following command:
cd src/
npm install -g bower gulp
npm install && bower install
### Build
The Gruntfile is located in `src/` and can be easily executed using the `gulp` command.
### Watch for changes
While developing, you might want to use the following command to watch for changes:
gulp watch
`gulp` will automatically build Lychee everytime you save a file.