All Projects → hello-jason → Bedrock Deploy To Wpengine

hello-jason / Bedrock Deploy To Wpengine

Bash script to deploy a Roots Bedrock project to WP Engine's hosting platform

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Bedrock Deploy To Wpengine

Wordpress Lightning Publisher
⚡️ Lightning Publisher for WordPress
Stars: ✭ 50 (-12.28%)
Mutual labels:  wordpress
Framework
Assely is a PHP framework which brings a little joy to the WordPress development. Develop structured, easily scalable and complex WordPress websites and web applications with true pleasure.
Stars: ✭ 53 (-7.02%)
Mutual labels:  wordpress
Smart Media
Smart Media enhancements for WordPress
Stars: ✭ 56 (-1.75%)
Mutual labels:  wordpress
Shapely
Free multipurpose WordPress theme built using Bootstrap
Stars: ✭ 50 (-12.28%)
Mutual labels:  wordpress
Keyring
Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
Stars: ✭ 52 (-8.77%)
Mutual labels:  wordpress
Gravityblocks
Gravity Forms blocks for Gutenberg, the new WordPress editor
Stars: ✭ 54 (-5.26%)
Mutual labels:  wordpress
Bitcoin Wordpress Plugin
GoUrl Official Bitcoin Payment Gateway for Wordpress 3.5+ (or higher). Sell Products, Files, Digital Downloads, Membership on your website. Accept Bitcoin, Litecoin, Dogecoin, Darkcoin, Reddcoin, etc Payments Online. Use Pay-Per-Download, Pay-Per-Product, Pay-Per-Membership, Pay-Per-Page/Video-Access on your website. It is Easy!
Stars: ✭ 49 (-14.04%)
Mutual labels:  wordpress
Go Search Replace
🚀 Search & replace URLs in WordPress SQL files.
Stars: ✭ 57 (+0%)
Mutual labels:  wordpress
Phpwpinfo
Provides an equivalent to the `phpinfo()` but with more WordPress requirements details.
Stars: ✭ 52 (-8.77%)
Mutual labels:  wordpress
Lightning
Lightning is powerful them for WordPress.
Stars: ✭ 55 (-3.51%)
Mutual labels:  wordpress
Wp Functions
A compilation of function snippets for WordPress developers who create their own themes.
Stars: ✭ 1,055 (+1750.88%)
Mutual labels:  wordpress
Wordpress Cloud Media Offloader Plugin
A simple plugin that allows you to serve your WordPress Media Library files from the Backblaze B2 cloud storage service.
Stars: ✭ 52 (-8.77%)
Mutual labels:  wordpress
Wl Bootstrap
Integrating Laravel into WordPress
Stars: ✭ 54 (-5.26%)
Mutual labels:  wordpress
Generator Baukasten
Awesome!
Stars: ✭ 50 (-12.28%)
Mutual labels:  wordpress
Better Rest Endpoints
A WordPress plugin that serves up slimmer WP Rest API endpoints.
Stars: ✭ 56 (-1.75%)
Mutual labels:  wordpress
Wordpress Pubsubhubbub
WebSub/PubSubHubbub for WordPress
Stars: ✭ 49 (-14.04%)
Mutual labels:  wordpress
Caddy Script
🐳 Caddy installation script
Stars: ✭ 53 (-7.02%)
Mutual labels:  wordpress
Genesis Starter Theme
This repo is no longer maintained. The starter theme can now be found at:
Stars: ✭ 57 (+0%)
Mutual labels:  wordpress
Wordpress Zero Spam
The WordPress Zero Spam plugin makes blocking spam a cinch without all the bloated options. Just install, activate, and say goodbye to spam.
Stars: ✭ 56 (-1.75%)
Mutual labels:  wordpress
Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-5.26%)
Mutual labels:  wordpress

This code is old and no longer works for Sage v9 and later. Check out Toby's blog post for a solution.


Deploy Roots Bedrock WordPress project to WP Engine hosting platform

Works up to Bedrock 1.7.2. Deploys themes, plugins, and mu-plugins.

Repo: https://github.com/hello-jason/bedrock-deploy-to-wpengine

Changelog

v2 - Removes build process for Sage theme. Now focuses purely on deploying your Bedrock project, regardless of theme. Grab the branch master.

v1 - Works up to Bedrock 1.7.2, Sage 8.5. Grab the branch release/1.0.0.

Description

This bash script prepares a WordPress project built on Root's Bedrock boilerplate and deploys it to the WP Engine hosting platform.

WP Engine expects to see a standard WordPress project in the document root for your account. Since Bedrock shifts folders and files around a bit, this script temporarily moves everything back to their original locations (on a safe, temporary branch), which is then pushed to WP Engine.

The result is a properly-versioned Bedrock repo that you can safely and repeatedly deploy to WP Engine's production and staging environments.

Demo:

Installation & Setup

1. Grab the script

Source code is available at https://github.com/hello-jason/bedrock-deploy-to-wpengine. This repo is not meant to be cloned into your project. Rather, just grab the wpedeploy.sh file and place it in the top-level directory of your Bedrock project, and keep it with your project's repo.

2. Setup git push

Follow these instructions from WP Engine to setup SSH access and git push for your WP Engine account.

This readme assumes your remotes are named as follows:

  • Production: wpeproduction
  • Staging: wpestaging

Usage

Run at the top level of your project, in the same directory as your .env and composer.json files. Replace each remote name with the ones you created during step 1.

Deploy to staging:

bash wpedeploy.sh wpestaging

Deploy to production:

bash wpedeploy.sh wpeproduction

FAQs

  • Which branch does it deploy? - Deploys the local branch you run it on to whichever WP Engine remote you specify (production or staging)
  • What about the uploads directory? - Completely ignores the uploads directory. You'll have to upload that separately via SFTP.
  • How does it handle plugin versions? - You can upgrade or downgrade version numbers in the composer.json file, run composer update, then run this script to deploy the new version to WP Engine. However, this script will not delete plugins from WP Engine's servers; you will have to do that via SFTP or wp-admin.
  • What about WordPress core? - This script only deploys the contents of wp-content to WP Engine's servers. You should keep WordPress core updated in your composer file, but that only benefits your local dev environment. You will manage WP core for your publicly-facing site in WP Engine's interface directly.
  • Why doesn't it work on Ubuntu? - It does! But Ubuntu defaults to dash rather than bash, and the script may fail if you simply run sh. Other distros may do the same, so running this script with the bash command is important.
  • Why did you remove the build processes for Sage? - Since each project will have a different build process for its theme, it makes more sense to focus solely on deploying to WP Engine. More info in this issue.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].