blokdata/README.md

31 lines
545 B
Markdown
Raw Normal View History

2020-05-13 00:22:29 +00:00
# Blokdata
Create [blokmap](https://github.com/zeuswpi/blokmap) data from a Google sheet.
## Installation
1. Setup python
```bash
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
```
2. Setup `config.ini` as follows
```
[Google]
SHEET_ID = #FILLMEIN
RANGE_NAME = #METOO
```
3. [Request a Google service account](https://console.cloud.google.com/iam-admin/serviceaccounts)
4. Store the service account's key as `service_account.json`
5. Give the service account's email (read) access to the sheet
6. `python app.py`