A basic starting point for crafting websites. It is based on the HTML5 Boilerplate, and uses LESS to process css. Bower is used to manage JS components, with presets defined for loading in jQuery, modernizr, backbone, and underscore. Require.js is used to load in JS modules.
- Node.js The installer will work fine.
- Bower
sudo npm install bower -g
- RequireJS
sudo npm install requirejs -g
- A LESS compiler. I recommend either:
The framework needs to be built, so in order to do that, you need to install the dependancies with bower install
. You can change which components to load in by altering the component.json
file. For a complete list of Bower Components, see here After the dependancies are satisified, you can open up the index.html file in the app
directory and begin coding.
To package your application for production, cd ../app
and run . build.sh
. You may need to make the build script executable, in which case you would need to chmod +x build.sh
.