Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.6 KB

README.rst

File metadata and controls

56 lines (37 loc) · 1.6 KB

Open Knesset Templates

This repository holds the code for Open Knesset wed based frontend. You are invited to fork the code, improve the design and send a pull request

Quick Start

Fork the repo: ok-webfront.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]:`your_username`/ok-webfront.git
$ cd ok-webfront
$ npm install -d
$ node app.js

and point your browser at http://localhost:3000.

Contributing

Design

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

Improving Open Knesset Integration

If you can run a local Open Knesset development server, you can run the webfront so it will access the local server just type:

$ NODE_ENV=local node app.js

Running in local configuration, the webfront server will access port 8000 on the locahost instead of our deve server at http://api.dev.oknesset.org.