Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

2. The dev stack

Will Jones edited this page Apr 11, 2016 · 5 revisions

Running WordPress locally

It is easiest to use the Bitnami WordPress Stack. This is an all-in-one package which runs Apache, PHP, and WordPress through one application..

Bitnami itself isn't required, but a local dev stack is. Feel free to use WAMP, XAMPP, or any other Apache/PHP/MySQL stack you prefer.

Currently, you must work on theme improvements locally on your computer. This is required because the theme on the server is updated automatically when the roots-ualib Github repo is updated (if you edit files directly on the server, they will be erased whenever the repo is updated).

Plugins

Although not required to get things running, it is recommended you install these plugins on your local WordPress evironment so that all production theme features can be tested locally

Git

Git is a popular versioning tool. This ensures that changes are not accidentally overwritten by others when multiple people are working on a set of files.

Git is required for all University of Alabama Libraries' web projects.

Node

Node.js is a platform based off of V8 (Chrome's Javascript engine). Using Node.js developers can write everything from local applications to web servers all in Javascript.

Node.js to run various tools like Grunt and Bower to help automate and organize our web projects. Just like some programs requiring Java to run, many web development tools run off Node.

You only need to be aware of Node's npm command, which stands for "node package manager". This command is used to install and update various tools used to build and manage the WP theme.

PhpStorm IDE

You can use any editor of IDE to work on UA Libraries web project, but PhpStorm integrates all the required tools into one interface (including Github) and is the IDE we use in tutorials and docs.

To acquire a license for a University of Alabama Libraries staff member, please fill out a Technology Request Form (TRF) and submit it to Area Computing Services (ACS). The form can be downloaded via the forms section of the intranet

PhpStorm comes with a 30 day free trial, so you can start using it right away.

Plugins

The following plugins are highly recommended for your PhpStorm dev environment.

Goto File > Settings > Plugins to install


◄ Before you being     Cloning the theme ►