Go to file
Midgard 2b4ef6406b
Replace HTML newlines with actual newlines
2020-05-21 03:19:48 +02:00
blokdata Replace HTML newlines with actual newlines 2020-05-21 03:19:48 +02:00
.gitignore Minor cleanup 2020-05-13 15:42:14 +02:00
README.md Add caching 2020-05-13 18:20:20 +02:00
blokmap_to_sheet.py add conversion script 2020-05-13 17:16:21 +02:00
passenger_wsgi.py Fix deployment 2020-05-13 16:59:53 +02:00
requirements.txt Add caching 2020-05-13 18:20:20 +02:00
run_dev.py Add dev run script 2020-05-13 17:44:18 +02:00

README.md

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

[Cache]

TIMEOUT = 10
  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. ./run_dev.py

TODO

  • Error handling: it shouldn't ever crash on user input