Coder Social home page Coder Social logo

pinkdiamond1 / datacommons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunlightlabs/datacommons

0.0 1.0 0.0 24.26 MB

The core of sunlightlabs' Data Commons project. Includes the Transparency Data site and the APIs that power TransparencyData.com and InfluenceExplorer.com

Home Page: http://transparencydata.com

License: GNU General Public License v3.0

Shell 0.77% Python 89.90% Perl 0.35% CSS 0.08% HTML 0.32% PLpgSQL 6.88% PLSQL 1.71%

datacommons's Introduction

  • install pip and virtualenv

    • sudo apt-get install python-pip
    • sudo apt-get install python-setuptools (if you don't already have easy_install)
    • sudo easy_install virtualenv
  • install and configure virtualenvwrapper: $ sudo pip install virtualenvwrapper $ echo 'export WORKON_HOME="path/to/virtualenvs"' >> ~/.bashrc $ echo "source /usr/local/bin/virtualenvwrapper_bashrc" >> ~/.bashrc

  • create a new virtual env for datacommons. this will also activate it: $ mkvirtualenv datacommons note that the 'datacommons' dir can already exist or not. this command will create bin/ include/ and lib/ directories inside the datacommons directory.

  • if you need activate the datacommons virtualenv later, use: $ workon datacommons

  • install dependencies in requirements.txt files for dc_web and dc_matchbox $ pip install -r requirements.txt

  • add dc_data, dc_matcchbox, dc_web to the virtual env python path $ add2virtualenv [dir]

  • create local_settings.py files for both dc_web and dc_matchbox apps (get a copy from someone else).

  • manage.py runserver

datacommons's People

Contributors

apendleton avatar boblannon avatar drinks avatar ethanpg avatar gregeckler avatar gschure avatar jcarbaugh avatar jessykate avatar yourcelf avatar

Watchers

 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.