The quick and easy way to develop modern and fast static websites a.k.a Easy-Website-Generator =)
- css styling with sass and pre build helpers
- javascript development with coffee
- html templating with a hacked haml-coffee
- custom and predefined haml helpers via nodeJs modules
- site map generation
- google analytics
- twitter and opengraph tags
- ...
First you need to install nodeJs. Then in your terminal:
npm install -g easy-website-generator coffee-script gulp
mkdir my-workspace
cd my-workspace
ewg init --theme simple
ewg serve
In case you have permission problems prefix the commandos with sudo
Available themes at the moment: all, simple, wordpress, bootstrap-standalone. Many are planned github.com/easy-websites - help creating them =)
After running ewg serve the ewg will compile the html pages and opens a browser. On every source change the browser will reload.
For a compleete list type: ewg tasks which is equivalent to gulp -T
Usage: ewg [command] [options]
Commands:
init initialises a ewg setup
serve starts a webserver on ewg `src` folder and watches for changes
generate generates the `dist` folder from your `src` folder by executing the pre defined gulp tasks
tasks show registered tasks
* you can call any gulp task by passing it to the `ewg` command
Options:
--help show help [boolean]
--version show version [boolean]
--theme installs a zipped theme from url when running `ewg init [--theme=simple]`
--production loads production settings from your `ewg-config.yml` when running `ewg serve` or
"generate", default yml section: development
--test load test settings from your `ewg-config.yml` when running `ewg serve` or `ewg generate`,
default yml section: development
ewg init --theme simple see: https://github.com/easy-websites/ewg-theme-simple
ewg init --theme all see: https://github.com/easy-websites/ewg-theme-all
ewg init --theme bootstrap-standalone see: https://github.com/easy-websites/ewg-theme-bootstrap-standalone
All themes are located here: https://github.com/easy-websites
- update ewg-generator dependency
- introduce basic tests / code metrics
- i guess it is stable now, i used it in in over 20 projects
- make coffeelint happy
- fix installer issues with new ewg-config.yml
- use new basePath option also for workspace path building
- support new ewg-generator basePath option
- ewg serve now prints colored child process output
- move and rename
./src/workspace.ymlto./ewg-config.yml - lib/ewg/workspace full configured via ewg-config.yml
- new config values introduces
paths.src.base: './src'andpaths.dist.base: './dist'
Hey dude! Help me out for a couple of 🍻!
