Skip to content
Frontend web server for Open Knesset.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
fixtures
i18n
lib
locale/he/LC_MESSAGES
log
public
routes
tmp
upstart
views
.gitignore
.project
.pydevproject
README.rst
api.coffee
app.js
compilemsgs
fabfile.py
makemsgs.py
package.json

README.rst

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

Something went wrong with that request. Please try again.