All Projects → teampopong → Pokr.kr

teampopong / Pokr.kr

Licence: apache-2.0
Pokr [ˈpō-kər] - Politics in Korea (Out of service since Dec 2018)

Projects that are alternatives of or similar to Pokr.kr

Rcongresso
Pacote R para acessar dados do congresso nacional.
Stars: ✭ 42 (-62.16%)
Mutual labels:  politics
Python Dependency Injector
Dependency injection framework for Python
Stars: ✭ 1,203 (+983.78%)
Mutual labels:  flask-application
Black.box
Plug-and-Play VPN router and unblocker
Stars: ✭ 89 (-19.82%)
Mutual labels:  flask-application
Antragsgruen
Managing motions and amendments for political conventions
Stars: ✭ 56 (-49.55%)
Mutual labels:  politics
Flask Graphql
Adds GraphQL support to your Flask application.
Stars: ✭ 1,188 (+970.27%)
Mutual labels:  flask-application
Blindchat
a facebook messenger bot that allows users to chat with other people on facebook anonymously
Stars: ✭ 78 (-29.73%)
Mutual labels:  flask-application
Rte Speech Generator
Natural Language Processing to generate new speeches for the President of Turkey.
Stars: ✭ 22 (-80.18%)
Mutual labels:  politics
Text Sherlock
Text (source code) search engine with indexer and a front end web interface to search. Uses Python 3.
Stars: ✭ 103 (-7.21%)
Mutual labels:  flask-application
Casr Demo
基于Flask Web的中文自动语音识别演示系统,包含语音识别、语音合成、声纹识别之说话人识别。
Stars: ✭ 76 (-31.53%)
Mutual labels:  flask-application
Lietuvos Respublikos Konstitucija
Lietuvos Respublikos Konstitucija ir ją pagrindžiantys dokumentai. Su visa keitimų istorija.
Stars: ✭ 87 (-21.62%)
Mutual labels:  politics
Legislator
Interface to the Comparative Legislators Database
Stars: ✭ 62 (-44.14%)
Mutual labels:  politics
Nosdeputes.fr
Repository of NosDéputés.fr : the french parliamentary monitoring website
Stars: ✭ 69 (-37.84%)
Mutual labels:  politics
Amfv
A Mind Forever Voyaging, by Steve Meretzky (Infocom)
Stars: ✭ 81 (-27.03%)
Mutual labels:  politics
Nase Strategie
Chceme mít náš stát konečně rádi a být na něj hrdí. Možná je to utopie... ale do 10 let začne upadat automobilový průmysl a naší zemi zbyde jen černý humor a "vyvezení talenti" za hranice. Je třeba nastartovat změnu, která udělá naše společenské a ekonomické prostředí nejatraktivnějším na světě.
Stars: ✭ 43 (-61.26%)
Mutual labels:  politics
Holyfucktheelectionistomorrow
holy fuck
Stars: ✭ 92 (-17.12%)
Mutual labels:  politics
Cancer Donation Portal Python Flask App
Flask App for Cancer Donation Portal using basic Python, SQLite3, HTML, CSS and Javascript
Stars: ✭ 32 (-71.17%)
Mutual labels:  flask-application
Apps
Carson Sievert's web applications
Stars: ✭ 77 (-30.63%)
Mutual labels:  flask-application
White
A Blog Cms Website backed by MySQL in Flask&Python
Stars: ✭ 108 (-2.7%)
Mutual labels:  flask-application
Flask Rest Template
template for a rest app with flask, flask-rest and more...
Stars: ✭ 95 (-14.41%)
Mutual labels:  flask-application
Docker Superset
Repository for Docker Image of Apache-Superset. [Docker Image: https://hub.docker.com/r/abhioncbr/docker-superset]
Stars: ✭ 86 (-22.52%)
Mutual labels:  flask-application

Pokr - Politics in Korea

Pull requests are always welcome.

Installation

  1. Install dependencies

    • Ubuntu

        $ sudo apt-get install nodejs postgresql-9.3 npm python-psycopg2 node-less
        $ sudo npm install -g uglify-js
        $ sudo pip install -r requirements.txt
        $ sudo pip install git+https://github.com/teampopong/popong-nlp.git
        $ sudo make install
      
    • Mac OS X

        $ brew install node postgresql
        $ npm install less uglify-js -g
        $ pip install -r requirements.txt
        $ pip install psycopg2
        $ make install
      
  2. Create & modify configuration files

     $ make init
     $ createuser postgres
    
    • Set password for user "postgres" in PostgreSQL

        ALTER USER "postgres" WITH PASSWORD 'new_password';
      
    • Modify alembic.ini

      • ID_HERE: postgres id (ex: postgres)
      • PASSWD_HERE: postgres pw
      • HOST_HERE: postgres host (ex: localhost)
  3. Create & init DB (You should first obtain a pokrdb.dump from here)

     $ sudo -u postgres psql -h localhost -U postgres -c 'CREATE DATABASE pokrdb;'
     $ sudo -u postgres psql -d pokrdb -f pokrdb.dump
     $ ./shell.py db init
     $ alembic stamp head
    

Run Server

$ ./run.py [-d] [-l LOCALE] [--port PORT]

Update Data

  1. Bills

     $ ./shell.py bill update "some/where/*.json" # from files
     $ ./shell.py bill update --source redis  # from Redis queue
     $ ./shell.py bill update --source db  # existing bills of the current session
    
  2. Bill Keywords

     $ ./shell.py bill_keyword update "some/where/*.txt"
    
  3. Candidacies

     $ ./shell.py candidacy update "some/where/*.json"
    
  4. People

     $ ./shell.py person update "some/where/*.json"
    

    when the json is in this form.

License

Apache v2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].