-
Notifications
You must be signed in to change notification settings - Fork 3
2. The dev stack
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).
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
-
Advanced Custom Fields
- Besure to import our ACF settings to your local WP. See here for instructions
- Advanced Custom Fields: Nav Menu Field
- Breadcrumb NavXT
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.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.
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.
The following plugins are highly recommended for your PhpStorm dev environment.
Goto
File > Settings > Plugins
to install
- NodeJS - Allows NodeJS integration
- AngularJS - Support for AngularJS syntax
- Bootstrap 3 - live templates and snippets
- GitToolBox - The Auto Fetch feature is especially handy