Page MenuHomePhorge

Script creation of avatar and award directories
Open, HighPublic

Description

Part of the installation process for SocialProfile is to copy the default image directories for avatars and awards (for some reason that I'm sure @jack can provide)

This requires various rather standardised commands with a variety of permission requirements.

We ought to script this to make this process easier and foolproof.

Event Timeline

Current commands:

cp -R /var/www/live/w/extensions/SocialProfile/avatars/ /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/
mkdir /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/awards/
sudo chown -hR www-data:www-data /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/avatars
sudo chown -hR www-data:www-data /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/awards

Pathing could do with avoiding symlinks on the new server.

lewiscawte moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Feb 25 2019, 2:23 AM