Skip to content

A WordPress site setup using Composer with Homestead for local development and SpinupWP for deployments.

Notifications You must be signed in to change notification settings

cycleandhammer/wordpress-composer-site

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Composer Site

This is a WordPress site setup using Composer based on the SpinupWP Composer Site for hosting with SpinupWP.

Requirements

Installation

  1. Create a new repository from this template repository.
  2. Add theme(s) in public/content/themes/ as you would for a normal WordPress site
  3. Add plugins(s) in public/content/plugins/ as you would for a normal WordPress site

Setup

Run the following commands:

composer install
/vendor/bin/homestead make
  1. Set the PHP version for the site mapping (php: "7.4") in Homestead.yaml
  2. Update /etc/hosts with the site domain and the ip in Homestead.yaml
  3. Update environment variables (ie WP_HOME) in the .env file
  4. Access WordPress admin at https://mysite.com/wp/wp-admin/

About

A WordPress site setup using Composer with Homestead for local development and SpinupWP for deployments.

Resources

Stars

Watchers

Forks

Languages

  • PHP 96.1%
  • Shell 3.9%