Unfortunately named static site generation utilizing Nunjucks + Bootstrap + Wintersmith.js.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Initial commit. Oct 15, 2014
test Initial commit. Oct 15, 2014
.bowerrc Initial commit. Oct 15, 2014
.editorconfig Initial commit. Oct 15, 2014
.gitattributes Initial commit. Oct 15, 2014
.gitignore Initial commit. Oct 15, 2014
.jshintrc Initial commit. Oct 15, 2014
Gruntfile.js Initial commit. Oct 15, 2014
Readme.md Trying not to be so harsh. Oct 15, 2014
bower.json Initial commit. Oct 15, 2014
config.json Initial commit. Oct 15, 2014
package.json Updating the package.json Oct 15, 2014

Readme.md

JuckStrap - An unfortunately named static site generation tool utilizing Nunjucks + Bootstrap + Wintersmith.js

This is a project that aims to quickly bootstrap a new web application project "the right way". This includes using Bootstrap within Nunjucks templating system, all statically generated with Wintersmith.js. This project also includes all of the necessary Grunt tools to make your life easier as you build a new web application rapidly and properly.

Prerequisites

There are a few things you will need to get started.

npm install -g grunt-cli
npm install -g bower

Easy Installation & Configuration

The easiest way to install and configure this library is to utilize Yeoman.

npm install -g yo
npm install -g generator-juckstrap
yo juckstrap

This will install, configure, and launch the server to get you going quickly.

Less Easy Installation

To install, first clone this repo, and then type the following in the directory.

npm install

Next you will need to make sure you install Bower components in both the root and test folders.

bower install
cd test
bower install

Configuration

A lot of the site configuration can be found within the config.json file in the root of the project. You can use this to edit configurations that Wintersmith uses to build the web appication.

The Web Application

All of the changes that you need to make are within the app folder. This contains the Wintermith setup for a Nunjucks templated site. Go to http://wintersmith.io/ to learn more about editing a Wintersmith application and also go to http://mozilla.github.io/nunjucks to learn about the Nunjucks templating language.

Running

You can run this web application by typing the following in your terminal.

grunt serve

This also watches all the files within the app directory and when a change is made re-compiles the application and automatically updates the site in your browser.

Compiling

This project compiles and runs using Grunt. You can compile the application using the simple grunt command.

grunt

This creates a dist folder that you can use to copy to your webserver.