- Install
python3. git clonethis repo- In the project root run:
python3 -m venv ./env. This will create a virtual environment inenv, where the project dependencies will be installed. - Activate the virtual environment:
source env/bin/activate(you'll need to do this again every time you open a new terminal and want to run the scripts). If you are on Windows:source env/Scripts/activate - Install the requirements:
pip install -r requirements.txt - Get the
certs.jsonfrom Michael, or create a new service account with Firebase privileges and download its credentials. This should be placed in the project root ascerts.json.
Download the user data into data.json.
$ python fetch.py
Count participant data from data.json. (You will need to fetch the data again if you want the most recent data)
$ python count.py