GithubHelp home page GithubHelp logo

libreoopweb's Introduction

LibreOOPWeb

This is a site to upload and manage libre readings. If you consider setting up an instance of LibreOOPWeb, you should really really know what you are doing, so instructions here are going to brief

Install LibreOOPWeb

  • Use azure, set up a new web app and deploy from source code. Select "github"
  • Add the following app settings:
    • NS_Host should point to a nightscout installation, f.ex. https://somesite.herokuapp.com . This will be used to authorize users, both uploaders and processor users. Users should be administered in nightscout's admin tools
    • Mongo_Url should be a mongo uri string to a completely new database, separate from your nightscout install. This will be used to store libre readings

Setup users in nightscout

  • Go to your nightscout site admin tools. Set up two new roles
    • libreoopprocessor - users that are members of this group are allowed to fetch, process and upload processed results
    • libreoop - users that are members of this group are allowed to upload raw readings for processing
  • Create necessary amount of users as you see fit

Set up a processing agent

Setting on a processing agent requires you to create one user in nightscout that has membership with libreoopprocessor permissions

  • Build a special version of libreoopalgo, it can be found here: https://github.com/dabear/LibreOOPAlgorithm/commit/90e78de0f70fe3c01f2371aa6f7b36e21051abc5
  • Configure the LIBRE_OOP_WEB_ENABLE, LIBRE_OOP_WEB_PROCESSING_TOKEN and LIBRE_OOP_WEBSITE variables before building.
  • The details regarding how you should build the oopalgo is out of scope for this document
  • oopalgo app needs to be run on a physical android device. Emulators are not an option. The android device's Screen must not be locked ever, or processing might stop working.

libreoopweb's People

Contributors

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