Skip to content
/ ez-wp Public

Single command to install wp sites on your Homestead Instance

License

Notifications You must be signed in to change notification settings

coreuxio/ez-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks

  • Write README and document how the tool shoudl work
  • Development
  • Release

Who is this for?

A person using Laravel Homestead to develop or test WordPress sites locally. (Mac OS, Linux)

How does it help ?

It's a simple command to install a wp site locally using Laravel Homestead box. Saves you about 1-2 minutes of manuall work.

npx ez-wp sitename

What does it do ?

  1. Creates entry in ~/Homestead/Homestead.yaml for sitename (change in options)[^1]
  2. Adds database entry in ~/Homestead/Homestead.yaml
  3. Creates WP installation folder ./current-path/sitename
  4. Adds sitename.test to your /etc/hosts file using the IP in your Homestead.yaml file
  5. Boots or Reloads vagrant box and adds --provision to the vagrant commmand.
  6. Opens Default Browser on sitename.test

Prerequisites

You must have Laravel Homestead installed for the ez-wp command to work.

Options

Option Description
-r --root . by default, value can be relative path or absiolute path
-d --domain By default will user application name unless specififed
-wv --wp-v lts by default.Allows you to provide wp version
-p --php-v application-name.test will be default if not specified
-c --cron false by default
-h --homesteadfile /Homestead/Homestead.yaml by default unles specifed

About

Single command to install wp sites on your Homestead Instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published