Jekyll scaffold that use Assemble as a Grunt plugin that makes it dead simple to build modular sites and components from reusable templates and data.
Clone OR Download this project and unzip it into a your.github.com
folder
git clone https://github.com/hariadi/assemble-jekyll.git your.github.com
Run:
npm install && bower install
Once the dependencies are installed you may run
grunt
to build the example project.
gh-pages
After grunt
command, Assemble task will generates _site
directory that can be deployed.
Initialize your repo/project
cd _site && git init && git add -A && git commit -m "Initial _site commit"
Add repo/project remote & checkout gh-pages
branch (change hariadi/assemble-jekyll
with your own repo/project)
git remote add origin https://github.com/hariadi/assemble-jekyll.git && git checkout -b gh-pages
Push to gh-pages
branch
git push origin gh-pages
If you not comfortable with this way, you can follow using git subtree.
NOTE for msysgit
user: git subtree
is still part of the 'contrib' folder and isn't installed by default on msysgit
(git subtree
installed by default on Git for Windows).
You need to install git subtree
manually:
cd /path/to/msysgit/contrib/subtree && make install INSTALL=/bin/install prefix=
Visit Assemble documentation
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Use Assemble to build and maintain your gh-pages, blog or documentation. Lint and test your code using Grunt.
gh-pages
deployement guideline.jshint
, uglifyjs
, less
, concat
, copy
sample configuration. Also Bootstrap v3.0