=== PushLive - Staging Site to Live in One Click === Contributors: jxaxmxixn, John Jin (Older Joomla) Tags: PushLive, 1 Squared, Stage, Staging, Staging Site, Stage to Live, Duplicate, Duplication, Replicate, Replication, Migrate, Migration, Backup, Clone, Cloning, Copy, Duplicate Site, Clone Site, Backup Site, Development Site, Deploy, Deployment, Sync Requires at least: 4 Tested up to: 4.3.1 Stable tag: 0.4 License: GPLv3 or later PushLive allows you to have a fully functioning development staging site that you push to the live site when you're ready == Description == **PushLive allows you to have a fully functioning staging site for development that you then with a single click push to the live site when you're ready.** **OFFICIAL RELEASE:** 27 September 2015 *Simply set up two separate WordPress sites on the same server* *(a staging and a live site - ex: stage.example.com & example.com)* *Make all the edits on the staging site only.* *Click the **Push Site Live Now** button to push them all to the live site without thought or worry.* * The staging site should be set up exactly as you want the live site to work. * The initial live site setup should be a default, bare, working WordPress site with its own database, and does not require the PushLive plugin (or any plugins or anything). * Though PushLive is not an official backup plugin, it does however backup the databases on every push (just in case) - you'll need to be able to create a folder you can access but is not web accessible (not in your public HTML folder). **Requires:** * Linux based server **Major features in PushLive include:** * Fast staging to live pushes that only update the new or changed content as necessary. * Relatively easy 1 page, top to bottom setup and configuration. * A visible log of all previous pushes can be viewed on the main PushLive page. * Option to require all users to log in to view the staging server **Other Features:** * Creates database backups during every push **History:** * This was originally a simple tried and true Joomla 1.5 component my company developed many years ago * I then updated it for Joomla 2.5 and added some new features * Updated it for Joomla 3.5 and again added some new features * Rewrote it for WordPress for my own use about a year ago * Decided shortly after that I would become a WordPress developer and release it publicly * 9 months of using it later I finally released it with some new features and minor bugs fixed * Historically PushLive has always served us/me good use so it should be something you can trust and rely on as well * We have NEVER had a major issue with PushLive we had to recover from, but you should always back up your site == Installation == **NOTE:** This plugin is for groups or individuals who understand basic Linux file path structure and WordPress database tables and how they relate to various plugins and WordPress features. First time users should create a quick test environment or test in the very beginning stages of a new project until you're comfortable. PushLive works perfect when set up correctly, but you really need to make sure all your paths and settings are properly entered! * **Create 2 separate working WordPress installations on the same server (one for staging, and one for live use).** * **Upload the PushLive plugin to your staging site only, Activate it, Configure Setup.** * *No need to upload plugins or make any changes to your live site because they will all be overwritten when you PushLive* * **Go to the main PushLive section and click the "Push Site Live Now" button.** * *The time it takes to push depends on how much you've changed since the last push* * *The first initial push usually takes some time, so be patient* * **Verify your initial push is working 100% correctly.** * **Go back to the PushLive Setup and uncheck any table that the live site will need for its own data retention.** * **You're now set up and only have to click the "Push Site Live Now" button from here on out.** **Remember:** if you're losing any data on the live site after a push, it's likely because you forgot to uncheck a table the live site is using to store that data in. Do not go uncheck happy! Only uncheck the tables you know for sure you do not want to update to the live site (or things can get messy) == Frequently Asked Questions == **None so far - please ask any you have, it's going to help me make this program better** == Screenshots == 1. Main PushLive window just after a successful push. 2. Setup window exacly as we have it on our 1 Squared site (please don't hack us ;) == Changelog == = 0.4 = *Release Date - 27 September, 2015* * Added a donate button * Minor not bug related changes = 0.3 = *Release Date - 27 September, 2015* * Fixed issue where the file sync was erring out due to it not being able to set the time and date on files * Added various help instructions and suggestive placeholders throughout Setup page = 0.2 = *Release Date - 16 July, 2015* * Backup Directory now requires user input to choose desired location * Removed PHP Error Reporting * Changed file_list.txt to .file_list * Added ability to replace all staging URLs with live URL in entire live database (because literally hundreds of cases were found in various tables) * Added Settings Link to WordPress Plugins page * Added links to PushLive support page * Added index.PHP everywhere * Fixed/changed many other minor things = 0.1 = *Release Date - 14 July, 2015* * Adapted from our previous working component to work as a new WordPress Plugin * Some features are not yet visible but are partly working in the background ready for future releases * More updates and features are coming! * Only tested on WordPress version 4 so far, though it may likely still work on earlier versions. == Upgrade Notice == **Please make sure your WordPress installation is up to date to ensure proper PushLive functionality**