GithubHelp home page GithubHelp logo

getopinionated's Introduction

GetOpinionated

An online vote system supporting liquid democracy and document collaboration.

Dependencies:

You need a number of python modules installed on your system to be able to run getopinionated; these are:

  • Django 1.4
  • python-django-south
  • python-django-authopenid
  • python-oauth2
  • [optional] Scipy 0.12.0 or higher
    • (needed for the evaluation of the votes. An efficient inverse for sparse matrices was only added to scipy recently)
  • [optional] python-imaging
    • (needed to get avatars from the users social network account)

Furthermore, getopinionated has been developed on python 2.7.

Installing dependencies in Ubuntu

Assuming you have python 2.7, run the following for Django:

sudo apt-get install python-pip
sudo pip install django==1.4

And Install the required dependencies as follows:

sudo pip install south django-authopenid oauth2

And for scipy and python-imaging:

sudo pip install cython
sudo pip install git+http://github.com/numpy/numpy/
sudo apt-get install gfortran libopenblas-dev liblapack-dev
sudo pip install git+http://github.com/scipy/scipy/
sudo pip install PIL

Getting started

To run the development server, run

python manage.py localserver

This will create the database, populate it with the data in testdata.json and execute manage.py runserver.

Notes for setting up a production server

  • Make sure to add a local_settings.py file. For more info on this, take a look at a template file.

  • Install all optional dependencies as well

  • Set up cronjob to call the following at least every 5 minutes:

      python manage.py updatevoting
    

Github branching layout

http://nvie.com/posts/a-successful-git-branching-model/

getopinionated's People

Contributors

317070 avatar nymanjens avatar sandb avatar

Watchers

 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.