close

Slick­Stack

July 2024 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Pushing Development To Production

Like with many tasks in the WordPress world, there are multiple ways you can “push” or install the web design from your development (subdomain) site in SlickStack onto your main production site.

Migration plugins

One of the easiest ways is simply using a free migration plugin like All In One Migration. Some of these plugins only require 1 or 2 clicks to export your entire development site (database and all files) and then 1-2 clicks again to import that archive file into your production site.

SlickStack commands

Another easy way, if you prefer remaining in the shell, is to use the commands that SlickStack supports:

Semi-manual SlickStack approach

If running a single command scares you, no problem. You can slow down the process a bit with a few different steps, and verify at each step that things look correct.

  1. Dump your development site database using ss dump database
  2. Dump your development site files using ss dump files
  3. Verify these dumps appear to be the correct size (or open them up and inspect as desired)
  4. Backup your production site as desired to a remote location using a WordPress backup plugin or other service
  5. Copy /var/www/backups/mysql/development.sql to /tmp/import.sql
  6. Copy /var/www/backups/html/development.tar.gz to /tmp/import.tar.gz
  7. Run the command ss import database
  8. Run the command ss import files
  9. For good measure you can run (again) ss perms and ss purge
About the Author

Jesse Nickles

Jesse is the lead developer for the SlickStack project and also for HoverCraft, the accompanying free WordPress theme. He has been customizing WordPress for both personal websites and SEO clients for over 15+ years, with a focus on simplicity and longevity.

Leave a Reply

Your email address will not be published. Required fields are marked *

Thanks to our generous sponsors for their support!