openstreetmap / operations

OSMF Operations Working Group issue tracking
https://operations.osmfoundation.org/
98 stars 13 forks source link

create wordpress site for 20th birthday #1070

Closed mikelmaron closed 2 months ago

mikelmaron commented 2 months ago

CWG is building a standalone site for OSM's 20th birthday. The designer we are hiring to build it works in WordPress. We need a fresh WordPress instance to develop this, with access to install themes and plugins.

Firefishy commented 2 months ago

Done.

https://birthday20.openstreetmap.org/ is now up for development. As per other development site please administer plugins / themes / users using wp-cli

eg:

/opt/wp-cli/wp --path=/srv/birthday20.openstreetmap.org/wp/ user list

The chef role for updating the site has been disabled during dev, which means chef will not make any changes to the site itself. The site is backed up daily. Certificates will NOT be updated while chef is not managing the site.

Firefishy commented 2 months ago

Another tip: wordpress installed files should be owned by wordpress user. To accomplish this using wp-cli you may need to use sudo eg:

sudo -u wordpress /opt/wp-cli/wp --path=/srv/birthday20.openstreetmap.org/wp/ *some-command*