josephfusco / skipper

⚓ An opinionated WordPress site setup script for Laravel Valet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

skipper

Introduction

Skipper is a WordPress site setup script for Laravel Valet.

Usage

For usage information:

skipper --help

Site Creation

The skipper command should only be ran within the parked valet directory.

skipper mysite

Currently, the above command will do the following:

  • Create a new directory called mysite
  • Download & install the latest version of WordPress, including the database. (database name will be valetwp_mysite)
  • Remove default plugins (Akismet & Hello Dolly)
  • Remove default themes except Twenty Seventeen
  • Set front page as "Home"
  • Set posts page as "Blog"
  • Add "Home" & "Blog" to primary menu
  • Discourage search engines
  • Change permalinks to use /%postname%/
  • Install & activate plugin "Disable Comments" & set option to disable all comments.
  • Install & activate plugin "WP Self Destruct"

Once done, the site will open in your default browser and automatically log you in as the admin user.

Divi

Skipper supports quick site setup using the Divi theme.

skipper mysite --divi

The --divi flag will install and activate the Divi theme. "Home" & "Blog" pages will be assigned to the theme's main navigation menu location.

Note: You must provide your Elegant Themes username and API key to use this feature. These credentials will only be stored locally in ~/.skipper/et.json.

About

⚓ An opinionated WordPress site setup script for Laravel Valet.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%