Skip to content

⚓ An opinionated WordPress site setup script for Laravel Valet.

License

Notifications You must be signed in to change notification settings

josephfusco/skipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.