This simple bootstrap combine the static site generator Tacot with Yeoman webapp scaffolding. Tacot is a static web site generator based on Mako template engine. Yeoman webapp scaffolding brings a very nice Grunt script to automate the process of web assets optmization. Yeoman webapp scaffolding includes the powerfull Bootstrap front-end framework and Sass compilation.
You need to install Bower, NodeJs and Virtualenv on your system.
Download grunt packages and bower components.
$ mkdir <project folder> $ git clone git@github.com:k3z/tacot-yeoman-webapp-bootstrap.git ./<project folder> $ cd <project folder> $ npm install $ bower install
Create the virtualenv container and install Tacot.
$ virtualenv ./ $ bin/pip install -r requirements.txt
The source code is stored in the app/ folder. The templates are stored in the app/content/ folder.
The best way to code your project is to run :
$ grunt serve
In this mode a local web server is launched and your browser reloads each time you save some changes. First it compiles Mako templates and
To build the production files just run :
$ grunt build
A dist/ folder is created with the final project.