Skip to content

centre-for-effective-altruism/ForumAnalytics

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.2%
  • PLpgSQL 29.7%
  • Shell 0.1%