Go to file
2020-05-13 16:59:53 +02:00
blokdata Fix deployment 2020-05-13 16:59:53 +02:00
.gitignore Minor cleanup 2020-05-13 15:42:14 +02:00
passenger_wsgi.py Fix deployment 2020-05-13 16:59:53 +02:00
README.md Update README TODO 2020-05-13 15:44:17 +02:00
requirements.txt Remove wsgi 2020-05-13 16:25:13 +02:00

Blokdata

Create blokmap data from a Google sheet.

Installation

  1. Setup python
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
  1. Setup config.ini as follows
[Google]

SHEET_ID = #FILLMEIN
RANGE_NAME = #METOO
  1. Request a Google service account

  2. Store the service account's key as service_account.json

  3. Give the service account's email (read) access to the sheet

  4. python src/app.py

TODO

  • Database caching: don't re-request google sheet data every time
  • Error handling: it shouldn't ever crash on user input