Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Script that will download and prep a WordPress install for you.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 plugin-installer.txt
Octocat-spinner-32 readme.md
Octocat-spinner-32 screenshot.png
Octocat-spinner-32 wp-prep.php
readme.md

wp-prep

Author: Jared Atchison ( @jaredatch / jaredatchison.com )
Version: 1.0
License: GPLv2

Description

I typically setup 2-4 new development sites a week. While this process doesn't take long, I was doing thing same thing over and over again. Each setup required the same files and plugins to be uploaded - I wanted to automate the process. This script was the result.

This script is ideal for people who have a dedicated area for development, e.g. YourDevelopmentArea.com - however it could be used in smaller use cases as well.

What's here is the first primary pass. There are likely bugs and optimizations that can be made - forks and pull requests are encouraged.

Lastly, depending on your host this may only partially work or may not even work at all.

Some nifty features include:
  • Ability to download the latest stable version of WordPress - or if you are adventurous - use trunk. It can be toggled with the click of a link.
  • Create and install to a directory - e.g. YourDevelopmentArea.com/acme-corp
  • Auto upload the Genesis Framework
  • Auto upload base theme (with supports GitHub repos)
  • Auto upload batch plugin installer (see plugin-install.txt)
  • Delete Hello Dolly
  • Delete TwentyTen/Eleven
  • Delete wp-prep.php after completion
Links

This script is loosely based off of WP Downloader - just greatly expanded upon.

Installation

configure wp-prep.php
  • First and most importantly, set a new password (line 16)
  • Assuming you want to use Genesis, a base theme, and batch plugin install - configure those URLs (line 17-19)
configure plugin-install.txt
  • This plugin will provide the ability to batch install/activate other plugins
  • Follow the template to modify the plugin-install.txt as you see fit
Profit. Once configured, visit wp-prep.php

Screenshots

WordPress admin dashboard

Changelog

1.0
  • Initial release
Something went wrong with that request. Please try again.