GithubHelp home page GithubHelp logo

sirmmo / dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okfn/dashboard

1.0 1.0 0.0 666 KB

Dashboard for communities: what's up, who's here and what are they working on. Designed for use at the Open Knowledge Foundation.

Home Page: http://wiki.okfn.org/Community_Dashboard

dashboard's Introduction

A Community Dashboard for the Open Knowledge Foundation. See wiki for details of project: http://wiki.okfn.org/Community_Dashboard.

Using It

First, setup the git submodules needed by the frontend app:

git submodule init
git submodule update

Then, just open in your browser:

index.html

Note: if you are using Chrome you may need to open this from a webserver as chrome prevents loading the local data files (even if you are opening a local file) for security reasons.

For Developers

Directory Structure

The repository has this layout:

-- okfn-dashboard
 `index.html: JS webapp
 `-- js: JavaScript files, often exported by scripts
 `-- css: style sheets
 `-- img: image files
 `-- test: js tests
 `-- scripts: scripts to extract data from various sources
 `-- cache: cache directory for data during processing
 `-- data: houses permanent stored (bulk) data

Frontend App Tests

In your browser visit:

app/test/index.html

Backend and Data Harvesting

Setup

If you intend to run python scripts for storing and harvesting data you will need to:

  1. Install python, plus setuptools, pip and virtualenv
  2. Install other requirements:

    virtualenv {path-to-your-virtualenv}
    pip -E {your-virtualenv} install --requirement=pip-requirements.txt
  3. Install and run a local copy of ElasticSearch or use the DataHub.
  4. Copy and paste dashboard.cfg.tmpl to dashboard.cfg and set relevant config variables. If you have not modified the webstore configuration, it should work out-of-the-box.

Harvesting

Harvesting script is:

scripts/gather.py

To see command options do:

python scripts/gather.py -h

The list of people is pulled separately out of the okfn.org buddypress db. A csv is extracted and posted online at: http://okfn.org/dashboard/cache/okfn_members.csv

You then need to pull it down and have it locally at data/members.csv. Then run:

python scripts/members.py -h

And follow the instructions.

dashboard's People

Contributors

rufuspollock avatar teajaymars avatar elemoine avatar pudo avatar pmarkun avatar napo avatar

Stargazers

Marco Montanari avatar

Watchers

James Cloos 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.