Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Immuni app metrics uploader for dashboard. This is an internal tool to exchange data with the dashboard generation pipeline.

License

Notifications You must be signed in to change notification settings

immuni-app/immuni-app-metrics-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Immuni metrics uploader

Immuni app metrics uploader for dashboard. This is an internal tool to exchange data with the dashboard generation pipeline.

Install dependencies

poetry install

Run

  • Create a folder metrics where to put csv files taken from Apple Store and Google Play.

  • Set env variables to support 🇮🇹 language.

export LANG=it_IT.UTF-8
export LC_ALL=it_IT.UTF-8
  • Run cron
cd app
poetry run huey_consumer.py tasks.huey

Processed metrics can be found inside metrics_processed folder

Set up Google Drive

This app is able to exchange data using Google Drive and it needs client_secrets.json file stored inside app folder (Using Google API for Python- where do I get the client_secrets.json file from?)

export GDRIVE_PARENT_FOLDER_ID='Y0URP4R3NTF0LD3R1D'

⚠️ Note that if you use Google Drive integration, uploaded file will be removed from metrics_processed.

About

Immuni app metrics uploader for dashboard. This is an internal tool to exchange data with the dashboard generation pipeline.

Resources

License

Stars

Watchers

Forks

Languages