Skip to content

antin/ok-webfront

 
 

Repository files navigation

Open Knesset Templates

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

Quick Start

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 git@github.com: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.

Contributing

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

About

Frontend web server for Open Knesset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published