I’ve completed development on one project within my dev environment and need to begin a new one. What is the correct procedure for replacing the existing site and database with a new one?
-
☆ A M B ☆
- 3,141 Posts
I usually make sub folders for different projects, each with its own MODx install and database.
If you want to stick with a single dev project at a time, back up all your files and the database (you might want it later) and wipe the whole thing. Install MODx again with a new database (or a different table prefix) and start with a clean slate!
-
☆ A M B ☆
- 24,524 Posts
Same here; I usually have half a dozen projects going at once, so I’ll have each one installed in its own subdirectory. Every now and then I go through and zip for archive purposes then delete the ones I’m not working with any more. To be honest, in the four years or so I’ve been doing this I’ve never once had any use for the archived project!
-
☆ A M B ☆
- 3,141 Posts
One of our clients once managed to remove all files of a (non-MODx) rss feed integration in some sort of handbook he published. Gotta love backups in cases like that.
-
☆ A M B ☆
- 24,524 Posts
Oh, I have backups of all the final live implementations, and the ones I’m still supporting get updated regularly and used from time to time. It’s just the final development archives that are lurking in the dark corners of my hard drive (and on a USB storage device as well).