Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 1.54 KB

File metadata and controls

87 lines (60 loc) · 1.54 KB

Table of Contents

Vimwiki as your personal website

Use vimwiki as your favorite publishing tool !

Vimwiki settings

Publish with yeoman

Yeoman is _the web's scaffolding tool for modern webapps_. Built on node.js, it inludes yo, bower ans grunt

Install yeoman


Install a generator

Choose your prefer webapp environement. Generator-webapp is Html5boilerplate qith Jquery, Modernizer and Bootstrap


Finaly get started

Go to your project directory and run :

Template

Add a directory templates in root of the porject. Copy `app/index.html` to `templates/default.tpl`

Put those two vimwiki vars in your template :

Preview your wiki

In the directory of the project launch:

Release

In the directory of the project launch:


Process the whole thing

Within vim :

  • `Gw` to save and stage your wikifile
  • `Gcommit` to commit change
  • `:WikiToHTML` to have the html file
Within local www folder :
  • `grunt build`
  • `git -a -m 'message' file.html`
 It's done !

TODO

Automate all the stuff above !