lychee/docs/md/Build.md

20 lines
705 B
Markdown
Raw Normal View History

2014-02-23 15:59:45 +00:00
### Dependencies
First you have to install the following dependencies:
- [CSS Optimizer](https://github.com/css/csso) `csso`
- [UglifyJS](https://github.com/mishoo/UglifyJS2) `uglifyjs`
These dependencies can be installed using `npm`:
npm install csso uglify-js -g;
### Build
The Makefile is located in `docs/` and can be easily executed, using the following command. Make sure your run this from the root of Lychee:
make -f docs/Makefile
### Use uncompressed files
While developing, you might want to use the uncompressed files. This is possible by editing the `index.html`. Simply change the linked CSS and JS files. There are already out-commented link-tags for development and production.