Developing our WordPress Theme

From sshcWiki
Revision as of 21:16, 25 March 2015 by Cswingler (talk | contribs)
Jump to navigation Jump to search


Fun with WordPress Theme Development

This is a quick howto to get started with developing a wordpress theme using Vagrant

Install prerequisites

You'll need all of these:

If you're on a non-Unix workalike, you'll probably also want an SSH client, though it's not strictly necessary.

Install VCCW

Just follow the instructions under "Getting Started" at http://vccw.cc

Once it's set up, you should be able to hit http://192.168.33.10 to bring up a local wordpress instance. Hit http://192.168.33.10/wp-admin and log in with admin/admin to get to the admin panel!

Check out our WordPress theme

In the unpacked directory from VCCW, switch to the directory /www/wordpress/wp-content/themes.

Then, just clone our fork of the Untitled theme:

https://github.com/sshchicago/untitled

Make changes, test locally, and commit them back.

Any changes you make in that repo will automatically be reflected in the Wordpress VM - you don't even need to SSH in! Nifty!

Easy!

TODO

  • Set up Jenkins job to create tarballs of all of our existing assets/db dump
  • Automate deployments from our github repo up to test
  • Get test set up!