Genesis is a Grunt tool for easing the build of static websites, allowing you to code with Jade templates and Stylus.
If you haven't used Grunt before you should checkout the getting started guide.
Genesis also comes with a few extras, such as a local web server, Javascript minifying, and a wercker.yml for Amazon S3 deployment.
Dependency:
git clone git@github.com:synthmedia/genesis
cd genesis
npm install
grunt
The default Grunt task will compile the Jade, Stylus and Javascript in pretty mode, watch for file changes and run the local http server.
grunt build
will compile the code in pretty mode, but will not run the server or watch the files for changes.
grunt server
will just run the http server.
grunt deploy
will minify the CSS, Jade and javascript.
- v1.0.0 - Initial release.
- v0.1.3 - Added cache busting to the deploy process, removed image compression form watch and added the build folder to the gitignore file.
- v0.1.2 - Added rsync to images, image compression and full Javascript file concatenations.
- v0.1.1 - Updated to Grunt 0.4.0, added Javascript minifying with debugging and deployment settings.
- v0.1.0 - Work in progress, not yet officially released.