drupal - Set up for working offline and uploading to remote site -
i using komodo edit coding, , have set using mamp , local install of drupal, , sass build site offline.
once ready test online, upload onto remote site. however, working on remote site , on local one, , finding problems.
i'm not using sass on remote site, working in css file. don't have drupal panels in code yet, i'm having rebuild them on remote site, , i'm making tweaks , changes on fly.
i end 2 different versions of site , need keep track of changes want keep both. can clean workflow?
it better if work entirely locally , sync remote environment.
with netbeans think have local copy of site running , right click , upload each file onto remote server there 2 copies of file.
i advice cleanest set is.
i have actual dev server own ip , live server own ip both connect same mysql server. there 2 databases set up, db1 , db2.
i use php script basic sql instructions to:
check db in use. backup db (say, db1). sync databases import db db2.
once done, use this:
cp webdb2.settings.php settings.php
so have 2 databases available , can roll right (in case with: cp webdb1.settings.php settings.php
) if when wrong.
this seems pretty system. ever work on dev, , push live process above.
Comments
Post a Comment