GithubHelp home page GithubHelp logo

xovis's Introduction

WARNING: This project is no longer maintained.

XOvis

The objective of this project is to gain insights into how XOs are used in Nepalese classrooms. In order to learn about XO usage, first data is collected from their Journal backups on the schoolserver. Subsequently, the data is processed and imported into a database and finally visualized using fancy interactive charts. The application that implements the visualization of the data is called XOvis, a Couch App built using Kanso framework. See dataflow.svg for a schematic representation of the entire workflow.

Installation

On RHEL/Fedora machine

Install with a bash script

  • To install the application, simply run install_xovis.sh

      ./scripts/install_xovis.sh
    

Install manually

  • Install project dependencies

      yum install python-pip git couchdb nodejs npm"
    
  • Install Kanso framework

      npm install -g kanso
    
  • Clone this repository in the destination of your choice

      git clone https://github.com/martasd/xovis.git
    
  • Install the application into a new database

      cd xovis
      kanso createdb http://localhost:5984/xovis
      kanso push http://localhost:5984/xovis
    

    where xovis is the name of the new database.

Alternative install (without requiring NodeJS)

  • If you prefer to avoid having to install Node JS, you can also install from a database dump:

      ./scripts/install_xovis_dbdump.sh
    

    Note: Downloads of database dump file.

Load existing deployment data into the database

  • Insert XO Journal backup data into the same database using a Python script

      pip install -r requirements.txt
      ./process_stats/process_journal_stats.py dbinsert xovis --deployment <deployment-name>
    

    Note:

    The script can also output statistical data to a file instead of inserting it into a database. To produce all statistical data from the Journal, one row per Journal record, call:

      process_journal_stats.py all
    

    To extract statistical data about the use of activities on the system, use:

      process_journal_stats.py activity
    

    To learn about all options of the script, see:

      process_journal_stats.py --help
    
  • To manage Couch databases using a browser dashboard, go to

      http://localhost:5984/_utils
    

Visualize

  • Open up a browser and go to

      http://localhost:5984/<deployment-name>/_design/xovis-couchapp/index.html
    

Enjoy the beautiful view!

Acknowledgments

process_journal_stats.py script is based on olpc-journal-processor script Leotis' Buchanan and get-journal-stats by Raul Gutierrez Segales.

xovis's People

Contributors

martasd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

xsce becram andi-g

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.