Context: the Empowering Italian GLAMs project was hosted in Wikimedia Toolforge for these reasons: T320369: Help evaluating Toolforge or VPS to empower Italian GLAMs (Wikimedia IT)
But we need to migrate ASAP the Empowering Italian GLAMs from Toolforge to another destination, since this project requires PHP 8+ (required by Laravel 9) but any Kubernetes image in Toolforge at the moment support PHP 8:
T269073: Add PHP 8 for Kubernetes
- evaluate another hosting provider for the Empowering Italian GLAMs project (from Toolforge)
- Cloud VPS using https://deb.sury.org/ ←
- WMIT server: excluded: we have not an available server with PHP 8
- nice to have in Wikitech: somehow improve Toolforge documentation to better explain that although PHP 8 has been available since 2020 it is not an available package in any way (I know that this may be obvious for some people, but this can be useful for the rest of the planet who indeed use PHP 8 as default - like Laravel - and expect it)
- nice to have in WMIT: improve documentation related to new software projects assigned to externals, in order to require software from Debian stable, to simplify hosting (done: https://wiki.wikimedia.it/wiki/Sviluppo_software)
Deploy GLAMs in Wikimedia Cloud
- request VM
- create instance
- migrate documentation https://wikitech.wikimedia.org/wiki/Nova_Resource:Glams
- expose to the web https://wikitech.wikimedia.org/wiki/Help:Using_a_web_proxy_to_reach_Cloud_VPS_servers_from_the_internet
- install apache2
- install https://packages.sury.org/php/README.txt
- apt install php8.1 php8.1-dom php8.1-curl
- apt install install mariadb-server
- install composer in /opt/composer
- run composer install
- fix "Your app key is missing"
- it works on my computer (asd)