Clone this repo:

Branches

  1. baea7fa Add README file by David Barratt · 3 years, 10 months ago master
  2. ddd402f Remove GraphQLi and use Apollo Server Playground by David Barratt · 3 years, 10 months ago
  3. 477c27d Add a User-Agent to comply with the User-Agent policy by David Barratt · 4 years, 1 month ago
  4. e47764a Merge "Update prod docker configuration" by jenkins-bot · 4 years, 9 months ago
  5. 8a18cca Update prod docker configuration by David Barratt · 4 years, 9 months ago

GraphQL Gateway

Serves as the federated gateway for wikis using the MediaWiki GraphQL Extension.

Wikimedia

GraphQL Gateway https://graphql.toolforge.org/

Deployment

  1. ssh login.toolforge.org
  2. become graphql
  3. cd www/js
  4. git pull origin master
  5. webservice --backend=kubernetes --mem 2Gi node10 shell
  6. cd www/js
  7. npm ci
  8. exit
  9. webservice --backend kubernetes node10 stop
  10. webservice --backend kubernetes --canonical --cpu 1 --mem 2Gi node10 start