Pick our brains...

All posts in WordPress

How to use WP-CLI

I wanted to write some quick notes regarding the feedback that we got from our developers about how to export and import databases using WP-CLI. What a wonderful tool it is! WP-CLI stands for “WordPress Command Line Interface”. There are a bunch of commands you can use to manage WordPress . . . Read more

How to Backup a Codebase, Server Side, Well & Good

Make a Copy of an Entire Codebase: Very useful for preparing for a major version update. Let’s say you’ve got a codebase, living at: /home/USERNAME/public_html/   You can make a copy of the whole gosh dern thing, while watching the files stream before your eyes with: cp -Rv  /home/USERNAME/public_html/ /home/USERNAME/public_html_YYYYMMDD_bak/ . . . Read more

Migration of WordPress from Pagodabox to a Traditional Hosting Environment

Skip to end of metadata Created by Benjamin Turner, last modified on Dec 04, 2013 Go to start of metadata This guide focuses on getting the data out of Pagodabox. General Step-by-step guide for Pagodabox migration: Download the Site from Pagodabox (covered in this guide) Setup Server that will be the . . . Read more

Create a Blank WordPress Sandbox

Creation of a new, blank Wordpess sandbox is useful for wireframing or trying out new themes and/or plugins. Because we are not migrating any content from an existing site, this process is easy, and can be done with GUI tools. Overview of Steps Create a space on the server where . . . Read more

Mysql Optimizations & Server Database Tuning

A few tasty tidbits, to jog the memory about database & server optimizations… To be expanded.  Share your thoughts and suggestions! Example Server: Memory Available: 1,751,724k total Handy Queries: mysql> SHOW VARIABLES LIKE ‘%cache%’; mysql> SHOW STATUS LIKE ‘Qcache%’; My.cnf Tweaks: ; QUERY CACHE… query_cache_size = 500M query_cache_type = 1 . . . Read more

Summary for Setting Up A Local WordPress Dev Environment Using VVV

This is meant to be a high level walk through for setting up a local development environment for WordPress. Steps Install Git Install Virtual Machine Software (Virtualbox 4.3.x) Install Vagrant Install Vagrant Core 1.6.3 Install Vagrant Plugins Hosts Updater Plugin : https://github.com/cogitatio/vagrant-hostsupdater Triggers : https://github.com/emyl/vagrant-triggers Note: While the above plugins are technically not . . . Read more

Developer Tools

Source Control These tools are used to help coordinate developer changes to projects. Git (Used to track and merge changes to code) Bitbucket (GUI front-end to GIT. Allows for project specific permissions on projects)   Source Control Howtos: Installing Git : http://git-scm.com/book/en/Getting-Started-Installing-Git Git GUIs: http://code.google.com/p/tortoisegit/ (Windows)     Local Development Local development . . . Read more

Developer Foundations (Training)

We need to write/publish a set of sequential “Developer Foundations” articles that will teach new developers (or people looking to get into development) how we wish to develop the “Peaceful Media” way. For now this page is simple a discussion of what should be included in this set. Please feel . . . Read more

WordPress and GIT Deployment Workflow

Let’s use this page as a place to flesh out an ‘official’ PM WordPress + GIT workflow. Comments Benjamin Turner Here is a number of WP + GIT workflows outlined in blog posts, collected and meant to be a basis for discussion and refinement: http://theme.fm/2011/08/tutorial-deploying-wordpress-with-capistrano-2082/ http://theme.fm/2011/09/deploying-wordpress-with-capistrano-part-2-staging-servers-tagging-database-security-2213/ http://theme.fm/2011/11/deploying-wordpress-with-capistrano-part-3-backing-up-and-restoring-mysql-2922/ http://roybarber.com/version-controlling-wordpress/ http://www.metaltoad.com/blog/tutorial-simplify-your-wordpress-deployments http://danielkoskinen.com/version-control-and-deployments/ . . . Read more

Peaceful Media’s Favorite and Standardized WP Plugin List

SEO Name Why It’s Great Link to Plugin Site WordPress SEO by Yoast Mature, stable plugin. Great aid for ensuring that the keywords you are targeting are actually being represented in the content that you are generating. http://wordpress.org/plugins/wordpress-seo/ User Roles and Permissions Name Why It’s Great Link to Plugin Site . . . Read more

How To Backup WordPress via BackWPup

These instructions are specifically for Peaceful Media servers, using client GAJDA / Raiseyourvalue.com as an example. 1/  Login to Server: Create a folder called “_back” one level above “public_html” Set this folder’s permissions to 777    Notes from Lawrence:   On our servers, you’ve gotta create the backup folder yourself . . . Read more