GithubHelp home page GithubHelp logo

opendatakosovo / bpo Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 0.0 15.13 MB

Bangladesh Peace Observatory

License: Creative Commons Zero v1.0 Universal

Python 28.41% HTML 6.94% Shell 0.23% CSS 21.82% JavaScript 42.60%

bpo's Introduction

BPO

The Bangladesh Peace Observatory Platform
Advancing understanding of peace and tolerance through data insights

Project description

The Bangladesh Peace Observatory is a virtual platform equipped with mapping and data analytics technology that informs users on the state of violence – political, ethnic, communal, criminal, gender-based, as well as extremist – and other forms of discord in terms of time, space and themes.

The Bangladesh Peace Observatory brings together different streams of publically available data, analyses and visualizes them in a useful and interactive way for decision makers, civil society and media to understand, consume, and debate. The Bangladesh Peace Observatory seeks to support a wide range of actors in making better public policy decisions, tailored interventions and programming, enhanced research, and effective advocacy campaigning for social cohesion and peace development based on evidence and data.

The BPO understands "violence" as defined by the World Health Organization (WHO) in its World report on violence and health (WRVH): "the intentional use of physical force or power, threatened or actual, against oneself, another person, or against a group or community, that either results in or has a high likelihood of resulting in injury, death, psychological harm, maldevelopment, or deprivation."

Hosted by the Centre for Genocide Studies, University of Dhaka.

Technical Instructions

1. Server Installation

Environment

  • Ubuntu 16.04 LTS 64 bit
  • MongoDB 3.2.x
  • Apache Virtual Hosts (httpd)

Initial Setup

Apache Virtual Host:

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install libapache2-mod-wsgi

Open the new file in your editor with root privileges:

sudo nano app.wsgi

And configure the project's path:

app_dir_path = '/var/www/bpo'

Create and edit project config file:

sudo cp config-template.cfg config.cfg
sudo nano config.cfg

Create New Virtual Host

Copy default virtual host config file to create new file specific to the project:

sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/peaceobservatory-cgs.org.conf

Open the new file in your editor with root privileges:

sudo nano /etc/apache2/sites-available/peaceobservatory-cgs.org.conf

And configure it to point to the project's app.wsgi file:

<VirtualHost *:80>
  ServerAdmin admin@localhost
  ServerName peaceobservatory-cgs.org

  WSGIScriptAlias / /var/www/bpo/app.wsgi
  <Directory /var/www/bpo>
    Order allow,deny
    Allow from all
  </Directory>

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Enable New Virtual Host

First disable the defaul one:

sudo a2dissite 000-default.conf

Then enable the new one we just created:

sudo a2ensite peaceobservatory-cgs.org.conf

Restart the server for these changes to take effect:

sudo service apache2 restart

2. Local Installation (UBUNTU)

First create a folder in your desktop called dev:

cd ~
mkdir dev
cd dev

Getting the project in your local machine:

git clone https://github.com/opendatakosovo/bpo.git
cd bpo

Install and run the app:

bash install.sh
bash run-debug.sh

3. Run the importers

bash importer.sh
bash import-idams.sh
bash importer-census.sh
bash import-religion.sh

bpo's People

Contributors

artaabdullahu avatar diamanthaxhimusa avatar georgeslabreche avatar partini avatar vullkan92 avatar zqarif avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bpo's Issues

As a user, I want to have 3 levels of region profile pages so I can easily navigate from one level to another, drilling in or out.

There hierarchy of region types will be reflected in the URL routing system.

A Division will have the following URL structure:
http://mywebsite.com/profile/division/<division_name>

A District will have the following URL structure:
http://mywebsite.com/profile/division/<division_name>/district/<district_name>

A Upazila will have the following URL structure:
http://mywebsite.com/profile/division/<division_name>/district/<district_name>/upazila/<upazila_name>

This URL structure is a RESTful best practice and will allow to easily share specific profile pages.

Getting more done in GitHub with ZenHub

Hola! @bxharra has created a ZenHub account for the opendatakosovo organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @bxharra.

ZenHub Board

As a user on a profile page, I want to graphically represent the consequences of the selected incident type so that I can appreciate the impact.

The measured consequences will be:

  • Deaths
  • Injuries
  • Property damage

By "graphically represent" we mean something like use of vector graphic iconography next to stats.

Emphasis will be put on a more infographic representation of the data with large numbers over analytical charts, as the information is meant to be abstracted and accessible to the general public. For instance, showing the death or injury count could incorporate neat vector graphic iconography elements.

need an explanation about graphs in mail

There shouldn't be more than 2 charts. If there's just one, then it should be a timeline of occurrences and a comparative chart (still to be defined).

Is this still standing? If so, can you elaborate bit more please.

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.