Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Frontend web server for Open Knesset.
JavaScript Python Other
branch: master

This branch is 16 commits behind daonb:master

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

Something went wrong with that request. Please try again.