Articles of deployment

Can I flush W3TC's cache in a capistrano deploy?

I’m trying to simplify my deploy process and am making use of the Capistrano tool. Is there a way to have capistrano flush W3TC’s cache in a deploy task?

WordPress with Git deployment issues

I’m new to wordpress, coming from the python/django world where there are pretty established standards for development workflows and site deployment, so I’m trying to find some guidance on how to manage a deployment. For some background on what I’m trying to do: I’m taking over an e-commerce wordpress deployment hosted on Digital Ocean. The […]

Clone plugins (and settings) to new installation?

Is it possible to clone the plugins and settings from a WordPress site to a new fresh install? I don’t want any of the content from the original site I just want all the plugins used and their settings. Just ftp’ing the plugins into the new install doesn’t work. It’s really important that all the […]

Deploying Updated or New Plugins That Modify the wp_options Table

I have a WordPress site under local version control with Git. I deploy it to the production server using Capistrano. For the initial deployment, I manually import the SQL database to the production server, and change all the local references by hand. Any content changes are made on the production server from then on. This […]

Multi-Environment Set up

I am facing this issue: we have one developers environment, one test environment, then the production. I would like to restrict the plugin additions, menu changes, any other changes not related to actual blog writing to the lower environment set up process and then propagation to production. Say I am adding a plugin: In development […]

Database sync between local and production

I was watching Mark Jaquith’s presentation at WCSF 2013 recently and in the Q&A Mark mentioned something about rsync – after a quick Google I can see this is done via SSH – my question is this: is this something that can be done to a local development environment? Do you still need to copy […]

Failure to establish connection when provisioning via ansible-playbook server.yml

I’m using Root.io‘s Trellis workflow. I’ve encountered an error wherein I couldn’t establish a connection via ansible-playbook. When I run ansible-playbook server.yml -e env=staging it throws me an error that the ssh connection cannot be established so I checked my users.yml file and saw a problem under the keys section: – name: “{{ admin_user }}” […]

Publishing Markdown posts from bitbucket to WordPress

I have a lot of markdown documents stored in a BitBucket repository. The md documents change often so I use it to track changes. I was now playing with the idea to ‘publish’ these MarkDown documents to a WordPress site. Is it possible to setup a continuous deployment of MarkDown documents to a WorPress site. […]

security+best practices: root or www-data on a wordpress content folder?

drwxr-xr-x 8 www-data www-data drwxr-xr-x 6 www-data www-data -rw-r–r– 1 www-data www-data -rw-r–r– 1 www-data www-data -rw-r–r– 1 www-data www-data drwxr-xr-x 7 www-data www-data drwxr-xr-x 7 root root This is on a wordpress install on an AWS linux server and that “root” owned folder is where all my changes go. To write my changes to […]

Managing updates when WordPress is in your own svn repo

I download and configure WordPress for a development environment and a production environment. After it’s set up on one server we check it into a subversion repo and then go and check it out on the production server. Deployment complete. The trouble is when I have to update. I’m supposed to delete wp-includes and wp-admin […]