Git Product home page Git Product logo

bt-tracing-webapp's Introduction

COVID-19 Bluetooth Tracking App - Web Application

TBD

Installation

The project is designed for Python 3.7 and it's recommended to install all dependencies into venv. Check the cookbook for getting familiar with venv.

Frontend is built by npm - you have to have it installed.

When the app is running, you can try to upload testing file.

Bash, Fish

You can use source install_local.sh (bash) or . install_local.fish (Fish) prepared script.
Or, do it by your own:

git checkout https://github.com/covid19cz/bt-tracing-webapp.git
cd bt-tracing-webapp

python3 -m venv env
source env/bin/activate # . env/bin/activate.fish for fish

cd src/btwa_frontend \
    && npm i \
    && npm run build \
    && cd ../..

pip install .
covid19-btwa

When the app is running, just open it in your web browser.

IDE

Checkout the REPO from your favorite IDE and open the project. If you used venv, don't forget to setup it in the IDE or it will report you don't have installed proper dependencies!

Frontend config

Settings for frontend is in CONFIG.json.
You probably don't want to change it.

{
  // server url - can be empty if running on the same machine
  "SERVER" : "",
  // POST request endpoint
  // submits array of BT IDs
  "GET_PHONE_NUMBERS" : "fakePhones.json"
  // table column mapping
  "ENCOUNTER_FROM" : "Encounter_from",  
  "ENCOUNTER_TO" : "Encounter_to",
  "ENCOUNTER_ID" : "Encounter_BT_id",
  "PHONE_NUMBER" : "Phone_Number",
}

bt-tracing-webapp's People

Contributors

jendakol avatar masek-av avatar

Watchers

 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.