Website: https://staging2live.com
Staging2Live is a WordPress plugin designed to simplify the process of setting up a staging environment. It ensures that staging environments are configured securely, preventing issues like the corruption of production data or broken integrations. By automating configuration and providing clear visual guidance directly within the WordPress Admin, the tool helps developers and merchants create reliable, secure, and effective staging environments.
-
Staging Environment Validation: Automatically checks if staging environment configurations (like
WP_ENVIRONMENT_TYPE
) are correctly set up, ensuring a smooth transition between production and staging. It also ensures that live emails are disabled in staging environments. -
Automated Selective Content Sync: Offers a safe, automated method for syncing content from production to staging, with anonymized user data to protect privacy.
-
Visual Alerts and Guidance: Provides clear prompts and visual alerts within WordPress Admin to guide users during setup, ensuring that all configurations are properly set and minimizing the risk of manual errors.
-
Long-Term Expandability: Designed to be extensible, this tool supports future plugins and integrations beyond WooCommerce through hooks and custom settings, allowing developers to easily extend its functionality for various needs.
-
WordPress Merchants: Especially those using WooCommerce and Omnisend, who often face issues with improperly configured staging environments.
-
Developers: Professionals who need automated solutions for staging setup to avoid the pitfalls of manual configuration and errors.
-
Hosting Providers: Companies offering WordPress hosting solutions who are looking for tools to help streamline the staging process for their customers.
- Clone this repo or download the latest plugin version from here.
- Upload the downloaded plugin using the Wordpress dashboard
Plugins
menu or extract in to thestaging2live
folder to your/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in the WordPress dashboard.
- Once activated, the tool will appear under the "Staging2Live" menu in the WordPress Admin dashboard.
The plugin checks critical staging environment settings and ensures that key parameters like WP_ENVIRONMENT_TYPE
are correctly configured. If any issues are detected (e.g., live emails not disabled in staging), the plugin will provide alerts and suggested fixes.
The plugin allows for safe, automated synchronization of selected content (e.g., posts, pages, media) from your production environment to staging. Anonymization ensures that sensitive user data (such as email addresses) is protected.
Throughout the staging setup process, the plugin displays visual alerts in the WordPress Admin dashboard. These prompts guide users to complete key actions, ensuring proper configuration before deploying to the staging environment.
We welcome contributions to this project! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the GPL - see the LICENSE file for details.
If you encounter any issues or have questions, feel free to open an issue.
It's worth noting, if you have an eCommerce store setup on your site and you continue to make sales on your production site, your production and staging environments will quickly fall out of sync. If that happens, you should sync the sales data from your production environment over to your staging environment before pushing your data back to production.
You should keep in mind that this is not a guaranteed method. It's still possible you make a sale on your production environment before you have the chance to sync your environments, which would lead to losing that sales data.
By using Staging2Live, you can streamline your staging environment setup and ensure a secure, reliable process for your development and staging workflows.