Graphoid

From Wikitech
Jump to: navigation, search

Introduction

Graphoid is a Node.js service that converts a graph definition into a PNG image. It is used as a fallback for non-JS enabled/compatible browsers. More info in mw:Extension:Graph#Graphoid service.

Installation

The service is installed in the SCA cluster, that is sca1XXX in eqiad and sca2XXX in codfw (future plans)

Deployment

Deploy using Trebuchet from tin.eqiad.wmnet:

# Update sources on tin
cd /srv/deployment/graphoid/deploy
git pull
git submodule update --init

git deploy start
git deploy sync 
# in dialog, enter 'c' until all nodes are updated, 
# then 'y' to proceed to check-out, 'c' until all are complete, then 'y'

# Restart the service
git deploy service restart