This is a WordPress site setup using Composer based on the SpinupWP Composer Site for hosting with SpinupWP.
- PHP >= 7.3
- Composer - Install
- Create a new repository from this template repository.
- Add theme(s) in
public/content/themes/
as you would for a normal WordPress site - Add plugins(s) in
public/content/plugins/
as you would for a normal WordPress site
Run the following commands:
composer install
/vendor/bin/homestead make
- Set the PHP version for the
site
mapping (php: "7.4"
) in Homestead.yaml - Update
/etc/hosts
with the site domain and the ip in Homestead.yaml - Update environment variables (ie
WP_HOME
) in the.env
file - Access WordPress admin at
https://mysite.com/wp/wp-admin/