We’re standardizing on this workflow and use both SVN and DB dumps to handle things.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 1,336 Posts
My set up is like yours, a public ’production’ server and a private development server. I use SVN as a common repo between the two, develop on the dev server, then when ready update on the production server, this takes care of static files. You dont need to hold the whole MODx installation in SVN, I just hold /assets for instance. I transfer the database doing a simple SQL dump restore using PhpMyAdmin. Its a bit manual but it seems to work OK.
Use MODx, or the cat gets it!
-
- 4,205 Posts
Tip: If your site has user comments and other user contributions you need to be careful not to wipe them out during the db dump.
-
- 76 Posts
i understand that just the frame and settings for everything needs to be copied BUT the contained data needs to be preserved on the productive system. makes sense, thnx for the tip!
a good way to get to learn every corner of the modx db ^^