You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Toolhub.wikimedia.org: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>BryanDavis
(→‎Local development: Add necessary "branch=main" argument to Template:Gitweb invocation)
imported>BryanDavis
(→‎Testing deployment: Add section on how to update to a new demo build)
Line 15: Line 15:
== Testing deployment ==
== Testing deployment ==
https://toolhub-demo.wmcloud.org in the [[Nova Resource:Toolhub|Toolhub Cloud VPS project]] hosts a testing deployment that is used for beta testing and demonstrations. It is deployed using docker-compose. See {{Gitweb|project=wikimedia/toolhub|branch=main|file=contrib/demo-server/README.md|text=contrib/demo-server/README.md}} in the project's git repo for more information.
https://toolhub-demo.wmcloud.org in the [[Nova Resource:Toolhub|Toolhub Cloud VPS project]] hosts a testing deployment that is used for beta testing and demonstrations. It is deployed using docker-compose. See {{Gitweb|project=wikimedia/toolhub|branch=main|file=contrib/demo-server/README.md|text=contrib/demo-server/README.md}} in the project's git repo for more information.
=== Updating the demo build ===
{{Codesample|scheme=light|lang=shell-session|code=
$ ssh toolhub-demo01.toolhub.eqiad1.wikimedia.cloud
$ cd /srv/toolhub/demo/
$ make pull restart tail
  watch things happen until the search indices are rebuilt
  ^c
$ make web-shell
$ poetry run ./manage.py crawl --quiet
$ exit
$ exit
}}


== Local development ==
== Local development ==

Revision as of 16:32, 15 March 2022

Toolhub logo

toolhub.wikimedia.org is a catalog of tools used by the members of the Wikimedia movement. See the Toolhub project page on meta for additional details about the application's features.

Production deployment

Toolhub runs in the "eqiad" Kubernetes cluster. The service is current not active-active in the "codfw" cluster (T288685).

The helm chart and helmfile configuration for the service configure connectivity to its dependencies:

Testing deployment

https://toolhub-demo.wmcloud.org in the Toolhub Cloud VPS project hosts a testing deployment that is used for beta testing and demonstrations. It is deployed using docker-compose. See contrib/demo-server/README.md in the project's git repo for more information.

Updating the demo build

$ ssh toolhub-demo01.toolhub.eqiad1.wikimedia.cloud
$ cd /srv/toolhub/demo/
$ make pull restart tail
  watch things happen until the search indices are rebuilt
  ^c
$ make web-shell
$ poetry run ./manage.py crawl --quiet
$ exit
$ exit

Local development

Local development is done with docker-compose. See docs/CONTRIBUTING.rst in the project's git repo for more information.

Visualizations related to Tools and Account creation