This repository holds the code for Open Knesset templates, sample data and code to run as development server. You are invited to fork the code, improve the design and send a pull request
Fork the repo: ok-templates.git
by using the Fork button on github.
The only external dependecy is node.js so first get it for your platform
from the download page and then:
$ git clone [email protected]:yourusername/ok-templates.git $ npm install -d $ cd ok-webfront $ node app.js
and point your broser at http://localhost:3000/bill/3133 to see the template
from views/bill/show.html
rendered using context from
fixtures/bill/3133.json
.
the templates themselves are located at the views
folder and written in
Mustache logicless templating language. The templates have a .html
file suffix.
Once stasified with your changes, commit your changes to your fork with a meaningful commit message and send a pull request to hasadna's fork