Skip to content

livni/old-OK

Repository files navigation

Installation:
=============

$ python bootstrap.py
$ bin/buildout
$ bin/test
$ bin/django syncdb --migrate # do not create a superuser account
$ bin/django loaddata dev
$ bin/django createsuperuser # to create your superuser account
$ bin/django runserver

NOTES
=====

- currently MySQL is not supported
- on bin/buildout, problems with getting distribution for 'PIL' can be fixed 
  by installing the python-dev package

Update
======

$ cd Open-Knesset 
$ git pull git://github.com/ofri/Open-Knesset.git master
$ bin/buildout # only needed if the file buildout.cfg was changed; but can't hurt you if you run it every time.
$ bin/django syncdb --migrate # do not create a superuser account
$ bin/django runserver

# if you get the add_persons_aliases alert try this:
$ bin/django migrate --fake persons 0001

Windows Users:
--------------

Prerequisites:
Download and install Python 2.6 or 2.7 from http://www.python.org/download/windows/
Make sure python and svn are in the default path (control panel->system->advanced->environment variables)
Download and install svn client from http://www.sliksvn.com/en/download
Download and install git by following http://help.github.com/win-git-installation/
Generate an ssh key to your git account by following http://help.github.com/msysgit-key-setup/

Fork code repository:
Browse to http://github.com/ofri/Open-Knesset
and click Fork
Browse to your Open-Knesset fork and click the SSH button. 
Copy the SSH address and run the following command in git bash:
git clone paste_the_ssh_address_here.git

Running the installation instructions:
open command line change dir to the Open-Knesset folder
run the installation instructions above (Without the $ ofcourse and with backslashes)

About

an old Open-Knesset repo I have from 2011

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published