Tool:Wikipedia e la scuola italiana

From Wikitech
Jump to navigation Jump to search
Toolforge tools
Pensa-Wikipedia e scuola italiana con Wikisource.001.jpg Wikipedia e la scuola italiana
Pensa-Wikipedia e scuola italiana con Wikisource.008.jpg
Website https://meta.wikimedia.org/wiki/Wikipedia_e_scuola_italiana
Description Data-visualization for m:Wikipedia e scuola italiana
Keywords Wikipedia, itwiki, scuola italiana
Author(s) Giovanni Profeta (G.proftalk)
Maintainer(s) User:Valerio Bozzolan (View all)
Source code https://github.com/giovannipro/giovannipro.github.io/tree/master/wikipedia-scuola-italiana
License GNU General Public License 3.0 or later

This page is the documentation for a data-visualization tool in Wikimedia Toolforge related to the project Wikipedia e la scuola italiana.

See it online:

Report an idea

Feel free to share any idea to the upstream developer Giovanni Profeta (m:User:G.prof).

Upstream repository:

https://github.com/giovannipro/giovannipro.github.io

Report an issue

Feel free to report an issue to the downstream maintainer User:Valerio Bozzolan.

Deployment

This tool was deployed issuing these commands:

# authenticate in the tool
ssh login.toolforge.org
become itwiki-scuola-italiana

# clone the repository somewhere
mkdir --parents repositories
git clone https://github.com/giovannipro/giovannipro.github.io.git repositories/giovannipro.github.io

# expose the repository
ln --symbolic repositories/giovannipro.github.io/wikipedia-scuola-italiana/ public_html

# make it online
webservice start

Update

This tool is automagically updated every hour thanks to a cronjob entry in the Toolforge grid.

It's scheduled every hour nearly at XX:41. It means this happens every hour at a fixed minute. The minute was picked randomly, trying to avoid the usual spike that happens at XX:00 in this kind of shared environments.

This is the related crontab -e entry:

# m	h	dom	mon	dow	command
41      *       *       *       *       /usr/bin/jsub -N cron-29 -once -quiet /data/project/itwiki-scuola-italiana/scripts/update.sh

This is the content of update.sh:

#!/bin/sh
cd /data/project/itwiki-scuola-italiana/repositories/giovannipro.github.io
git pull

That's all.

See also