sudo apt-get install ruby-full rubygems-integrationsudo gem install jekyllsudo apt-get install nodejs npmsudo npm install -g coffee-scriptsudo npm install -g grunt-clisudo npm install -g bower
You may need to run the command ln -s /usr/bin/nodejs /usr/bin/node if you have the error /usr/bin/env: node: No such file or directory when running grunt or bower.
nodejs/node-v0.x-archive#3911
git clone [email protected]:<username>/blog-template.git bloggit clone -b gh-pages [email protected]:<username>/blog-template.git blog-gh-pages
cd bloggit add -Agit commit -m "Blog save"git push
cd blog-gh-pagesgit add -Agit commit -m "Blog pusblish"git push
All of this is from the blog folder.
### Build
npm install
When you add new dependencies :
grunt build:dev
To build for publishing :
grunt build:dist --force and then check the result at http://127.0.0.1:8282/
jekyll serve and then go to http://127.0.0.1:4000/