Skip to content

WorldBrain/Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorldBrain Analytics Server

Instructions

  1. install Docker CE
  2. install Docker Compose
  3. make a new .env file for docker-compose to use (copy .env.example and change as needed)
  4. ensure you have some SSL cert keypair in $NGINX_SSL_PATH named analytics.worldbrain.io.{crt,key}
  5. run docker-compose up -d to start up the docker containers in the background
  6. visit localhost:ANALYTICS_HTTP_PORT in your browser (where ANALYTICS_HTTP_PORT is whatever port number defined in .env)
  7. complete Piwik installation wizard

During the Piwik installation wizard, the connection to the DB will need to be set up. When asked, simply set the database server to db, root for username, and use the root DB password as you specified in .env. Db name can be anything.

The DB instance runs on a separate container which is made available to the Piwik container at the hostname db (via docker-compose conf).

When asked about which site to track, set it to worldbrain.io. This doesn't matter so much as we will set things up more specifically from the extension-side, but still required in the wizard.

The user details asked for in the wizard will be used for logging into the Piwik server dashboard.

About

Analytics server for the WorldBrain Memex web extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors