I know, that this question probably isn’t thaaat much into Yii. But I guess, some of you should know something about that.
I’m looking for a good solution to patch the live website. One idea was to install subversion on the live machine and just update from there … but what about files like “config.php” etc.? … here I’ve got different databases inside … but sometimes this file has changes as well … same for index.php etc.
The second question would be, how you guys "update"/"refresh" the database … if something changed …
… do there exist any good systems, which can make these things easier?
What do you exactly mean by "migrations for the database"?
The rest of it I do the same way, via FTP … but I think it’s a bit annoying from time to time … because there are always some files, like I sayed before (config/main.php, index.php, .htaccess, …) which have different configurations on the live website (like logging, debugging mode, database etc etc.). Short: it’s more than 3 things to change afterwards again, so that it can happen sometimes, that I forget about some of the configurations and stuff …
does there no script or something like that exist, which for example "exports" a generated patch in a seperate folder with the same folder structure, but just the changed files in it … something like that i thought of. Or maybe a combination of that and a subversion checkout on the live server.
I want to know how I can easily update code/data on several servers that will be running an application I am creating in Yii.
I think Subversion may be the best option, since it can revert to previous files if the update broke the system. But what if the servers don’t support Subversion?