Giter VIP home page Giter VIP logo

bruggmanq's Introduction

BruggmanQ

BruggmanQ is a web platform that speeds up sleep data analysis drastically. It allows the user to build responsive & user-friendy surveys for patients, upload sleep data reports and process them into a report. These reports are built from templates extracted from .docx files. Administrators can manage languages, templates, questionnaires and data. For data mining purposes every parameter can be added to an Excel file.

A client can be any device accessing the web server over the wireless or wired network. The perfect example would be a Raspberry Pi running in Kiosk mode.

TODO:

From most to least important.

  • Fix report generation
  • Add more parameters
  • Add back button on pages
  • Add editing support
  • Add multiple admin user support
  • Cleanup & optimize code

Repository

https://github.com/HazCod/BruggmanQ

Used IDE

Netbeans 7 (standard web project)

Static login

username admin and password 0Bruggm4n!

Requirements

Install apache2 Install mysql-server Install php5 and apache-php Enable mod_rewrite in apache2 and short tags. (Short tags should be done by the script) Requires your web user (www-data in apache2) to be added in the sudoers group to avoid permission errors.

Add this line: www-data ALL = NOPASSWD: /usr/bin/python2 (He can only run python scripts in sudo)

If your web user is not www-data, change it in scripts/manage_templates.py.

Installation Instructions (on *bian/Ubuntu)

Tested on Raspbian

  • sudo nano /etc/network/interfaces (set a static IP)

  • sudo service networking restart

  • sudo apt-get update

  • sudo apt-get install -y apache2 mysql-server php5 libapache2-mod-php5 git python

  • sudo rm -f /var/www/index.html

  • sudo chmod -R 777 /var/www/

  • git clone https://github.com/HazCod/BruggmanQ.git /var/www

  • groupadd www-data

  • usermod -g www-data www-data

  • sudo a2enmod rewrite

  • sudo nano /etc/apache2/sites-enabled/000-deafult almost at the top you will find <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all

Change the AllowOverride None to AllowOverride All - sudo service apache2 restart

(optional)

  • sudo apt-get install -y phpmyadmin (Choose apache2 to configure automatically)

  • sudo service mysql start

  • sudo apt-get install -y python-xlrd

  • sudo apt-get install -y python-xlwt

  • sudo apt-get install -y python-pip

  • sudo pip install xlutils

  • sudo pip install jinja2

  • sudo wget http://downloads.sourceforge.net/project/docfrac/docfrac/4.0.1/docfrac-4.0.1.src.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdocfrac%2F&ts=1401205200&use_mirror=heanet docfrac.tar.gz

  • sudo tar -zxvf docfrac.tar.gz

  • cd docfrac/

  • sudo apt-get install -y libboost-all-dev

  • sudo make install clean

  • cd ../

  • sudo rm -r docfrac*

  • sudo rm docfrac*

  • sudo chown -R www-data:www-data /var/www

  • mysql -u root -p < database.sql (using password chosen during Mysql setup)

  • setup mySQL (using phpMyadmin?) to contain the correct user (permissions) and fill this in at application/config.php; Go to http://YourStaticIP/phpmyadmin, login with username root and password chosen during phpMyAdmin. Then add a new user, set the machine recognition to every machine and assign the user permissions on **.

bruggmanq's People

Contributors

hazcod avatar imgbotapp avatar

Watchers

 avatar  avatar  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.