Giter Site home page Giter Site logo

vincib / memopol2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from psycojoker/memopol2

2.0 3.0 0.0 43.07 MB

[mirror] The Political Memory of la Quadrature du Net, both a campaign tool and a tool to inform citizens about the way the representatives votes

Home Page: http://gitorious.org/memopol2-0

License: GNU Affero General Public License v3.0

Shell 0.47% JavaScript 40.94% Python 58.59%

memopol2's Introduction

Introduction

The Political Memory is a tool build by la Quadrature du Net. It follow several objectives: being a campaign tool, being able to display how well the elected representatives have followed the voting recommendations of la Quadrature du Net, increase the political cost of the decisions of elected representatives, gather official positions taken by elected representatives and, the most important one, inform citizens.

This is the second version of the tool.

Links

We also have an irc channel: irc.freenode.net#lqdn-memopol (english speaking but if you only know french we can deal with that) where you will be very welcome

How to contribute

Like in any free software project:

  • clone it
  • install it
  • code
  • optional: talk to us about it on irc or on the mailing list
  • send a pull request either on gitorious or github
  • hit us with a stick if we don't react (shouldn't happen)
  • we merge your code, everyone is happy
  • party hard
  • start again

You can see the list of our awesome contributors in CREDITS.txt (if someone is missing just tell me).

Installation

Debian and debian-based

Install the base python virtualenv tools (on Ubuntu you have to enable universe):

sudo apt-get install python-setuptools python-dev libxml2-dev libxslt1-dev libfreetype6-dev libpng12-dev python-pip libatlas-base-dev g++ mercurial git libtidy-dev
sudo pip install virtualenv

Archlinux

Install the following to have the tools on Archlinux (please note that you may have to adapt the following install procedure):

pacman -S python2 libxml2 libxslt freetype2 python-lxml python2-pip python2-virtualenv libpng mercurial git

Fedora

Install the following to have the tools on Fedora (please note that you may have to adapt the following install procedure):

yum install python-setuptools python-devel libxml2-devel libxslt-devel freetype freetype-devel libpng libpng-devel python-lxml python-pip atlas-devel g++ mercurial git

pip-python install virtualenv

Installing python dependencies

We are using a virtualenv (there is everything needed to use buildout also if you want to).

Create one:

virtualenv --no-site-packages --distribute ve

Active it:

source ve/bin/activate

(If you want to leave it just type "deactivate")

Install memopol2's dependencies (yes you need to build numpy alone first):

pip install numpy==1.5.1
pip install -r requirements.txt

Run the "migration" scripts

Warning: this might take a LOTS of time, around 15min.

cd memopol2
./INIT

Do not try to run migrate by hand or you will have a bug due to fixtures loading and will end up with no eurodeputies fixtures.

Run the server

cd memopol2
python manage.py runserver

Your application is available on http://localhost:8000/

Small lexicon

We try not to use it too much but you'll eventually end up on it so here is a reference.

  • "mep" == member of the European Parliament
  • "mp" == member of the Parliament, here it's deputies of the French national assemble

Licence

The Political is licenced under aGPLv3+. The original idea is from gibus.

memopol2's People

Contributors

bouska avatar byroot avatar cynddl avatar davidbgk avatar davidgayou avatar duthils avatar gawel avatar gelnior avatar guyzmo avatar iasnip avatar jeanrochefort avatar leplatrem avatar mathieui avatar nimn avatar nutsinutsy avatar olethanh avatar psycojoker avatar rogdham avatar sigmike avatar stefantesting avatar stfp avatar taziden avatar tokeshu avatar vincib avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.