Join the community today
Register Now

the best solution to develop wp local and push stage ot production site

Discussion in 'Install & Upgrades or Pre-Install Questions' started by iDaemon, Aug 5, 2021.

  1. iDaemon

    iDaemon New Member

    2
    0
    1
    Jul 29, 2021
    Ratings:
    +0
    Local Time:
    12:56 PM
    hello, i'm new here and also new in admin and wp and also know a little coding
    now I knew how to manually packed wp web database and datafile.


    but the question is i know it is better way or proper solution that we can dev in local and then push to production site with automate something like that
    i knew some of the plugin for migrate but it is still clunky. and heard some of roots solution but still dont get it.

    anybody have experience can advice me which way should follow, i also want to learn thanks in advance.
     
  2. eva2000

    eva2000 Administrator Staff Member

    47,292
    10,703
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,628
    Local Time:
    3:56 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Probably best to familiarize yourself with Centmin Mod Nginx vhost site structure of where files are so you best know what needs backup/migrating or copying first. Then you'll know more about what and where files and data are first.

    See official Centmin Mod config file outline at Centmin Mod Configuration Files - CentminMod.com LEMP Nginx web stack for CentOS and also check out below guides on normal manual site moving which outlines which of those files need to be backed up and transferred usually.

    For moving site data there's 2 general guides where the principles & steps of backing up and moving data is the same just slightly different for
    1. Moving Centmin Mod site data to another Centmin Mod server
    2. Moving cPanel/WHM site data to Centmin Mod server
    Those guides move alot more than just the site(s) in question but config files etc. You can use your own best judgement as to the config files and whether you want to move them or just use the fresh server setup Centmin Mod config files as they get auto optimised for the server Centmin Mod initially installed on.

    If your old site isn't centmin mod or cpanel/whm based, then those guides won't be 100% applicable. But the general overview of what needs moving and where everything is structured in Centmin Mod LEMP environment is worth reading up on.
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    901
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +353
    Local Time:
    2:56 AM
    Latest
    Latest
    I can strongly suggest you use vscode for your coding and use it together with git & Github.
    Please find this youtube video about all the possible things you can do with vcsode, it's endless.

    Must see the video about vscode