Updating PicoCMS with Composer
A minor update, from 2.1.0 to 2.1.1.
composer is installed locally on the server (Debian oldstable) via apt.
All I had to do is
navigate to the folder including the PicoCMS installation
$ composer update Loading composer repositories with package information Updating dependencies (including require-dev) - Removing symfony/polyfill-ctype (v1.12.0) - Installing symfony/polyfill-ctype (v1.15.0) Downloading: 100% - Removing twig/twig (v1.36.0) - Installing twig/twig (v1.42.5) Downloading: 100% - Removing picocms/pico (v2.1.0) - Installing picocms/pico (v2.1.1) Downloading: 100% - Removing picocms/pico-theme (v2.1.0) - Installing picocms/pico-theme (v2.1.1) Downloading: 100% - Removing picocms/pico-deprecated (v2.1.0) - Installing picocms/pico-deprecated (v2.1.1) Downloading: 100% Writing lock file Generating autoload files > Pico\Composer\Installer\PluginInstaller::postAutoloadDump Updating Pico plugins file
It's advisable to have two separate sites, one for testing (staging), one that is actually seen by visitors (production). Now that the staging site is updated and working, I can copy the whole folder structure over to production.