Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 631 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 631 Bytes

Forum Analytics

Very brief installation notes

  • Install postgres server
  • Install python
  • pip install -r requirements.txt
  • Get config.ini from tech 1password vault
  • brew install dbmate
  • There should be an analytics dotenv in your Credentials Repository. Symlink it into .env
  • Install pgtap

Database

We use dbmate to migrate the database schema. See the migrations in /db/migrations/. It stores the current schema in /db/schema.sql.

The raw table is one giant document store. To make it more query-friendly, we create views for each event type we need, such as event_navigate.