sideways8/wp-project

There is no license information available for the latest version (dev-master) of this package.

A composer installable WordPress project

dev-master 2018-06-02 15:21 UTC

This package is not auto-updated.

Last update: 2024-04-14 20:12:19 UTC


README

This is a lightweight composer package for quickly installing the files needed for a clean, decoupled WordPress.

WordPress files and working content directories are separated, making version control cleaner.

git clone git@github.com:Sideways8/wp-project.git ./your-project-name

cd your-project-name && composer install

This will:

  • Download WordPress to /www/wp
  • Create content directories in /www/content (plugins, )
  • Create multi-environment configuration files in /config
  • Download a fresh set of auth salts from WordPress

Edit /config/wp-config-dev.php:

  • Set the APP_DOMAIN to your instance's domain (ie, mysite.wp)
  • Set the DB_ constants to connect to your database.

Finally, serve the /www directory from your web server.