- type:
python3 -m venv venv
- type:
source venv/bin/activate
- type
pip install -r requirements.txt
- if you get a message (either now, or at any point in the future) that a new version of pip is available,
type:
pip install --upgrade pip
- generate the keyfile
-
Go to https://console.cloud.google.com/iam-admin/serviceaccounts?authuser=0 in the Cloud Platform Console. Generate a new private key and save the JSON file.
-
name this file
privatekey.json
and place it in this directoryReference: https://firebase.google.com/docs/firestore/quickstart?authuser=0
- if your command-line prompt doesn't begin with
(venv)
, type:source venv/bin/activate
- type: `python3 process2.py CLASS_CODE
- the generated output files will reside in
output/CLASS_CODE