felixarntz/wp-composer-stack

A modern WordPress stack with Composer.

dev-master 2018-12-23 15:01 UTC

This package is auto-updated.

Last update: 2024-03-24 04:08:25 UTC


README

Latest Stable Version License

WP Composer Stack

A modern WordPress stack with Composer.

Setup

  • Make sure you have all requirements installed.
  • Create a new empty directory and navigate to it.
  • Run git init.
  • Run git remote add upstream git@github.com:felixarntz/wp-composer-stack.git.
  • Run git fetch upstream.
  • Run git merge upstream/master.
  • Open .lando.yml and replace wpcomposerstack with a name of your preference. Your site will be available via {$NAME}.lndo.site.
  • Optionally, open config/wp-install.sh and adjust the config variables at the top of the file.
  • Optionally, open composer.json and add dependencies you'd like to use.
  • Run lando start.
  • Run lando wp-install.
  • Access your site via {$NAME}.lndo.site.
  • At this point, it's probably good to connect your project's git repository and do a first commit. :)

Requirements

  • Install Lando: brew cask install lando
  • Trust the Lando SSL certificate: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/.lando/certs/lndo.site.pem