Welcome Guest, Not a member yet? Register   Sign In
Better update routine?
#9

(09-19-2017, 03:21 PM)ciadmin Wrote: One possible project structure:
- application ... for all *your* logic
- ci3 ... the CodeIgniter3 download/composer/whatever
- public ... your public facing document root

With a new app, copy public & application from "ci3" to your project root, as a starting point for your app,

*index.php* from CI would go inside "public", and would have to be modified so that system="../ci3/system" and application="../application"

Configure your web server or virtual host to use your project's "public" folder as document root.

Whenever a new version of CI comes out, replace your "ci3" folder (clone/download/composer/whatever).
You then need to check "ci3/index.php" to see if any changes need to made to your "public/index.php".
You also need to check your "application/..." files to see if there are changes in "ci3/application/..." - those are likely to be mostly (or even only) in the "config" subfolder.

No constant merging, just checking on new release.
Your application is intact & not clobbered by an update, nor is your public folder.

Works for me.

Thanks for the input. But this still does not eliminate the manual comparison of config files in the application folder when updating. I think I'll see if I can find an application that can automatically check two directories against each other (just like git does) and then let me decide what to do when files are different ... wonder whether this will do: www.sublimerge.com (or something the like).
Reply


Messages In This Thread
Better update routine? - by blaasvaer - 09-18-2017, 09:00 AM
RE: Better update routine? - by Narf - 09-19-2017, 12:39 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 10:19 AM
RE: Better update routine? - by Paradinight - 09-19-2017, 11:10 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 12:35 PM
RE: Better update routine? - by Narf - 09-19-2017, 01:54 PM
RE: Better update routine? - by blaasvaer - 09-19-2017, 02:05 PM
RE: Better update routine? - by Narf - 09-20-2017, 02:38 AM
RE: Better update routine? - by ciadmin - 09-19-2017, 03:21 PM
RE: Better update routine? - by blaasvaer - 09-20-2017, 12:41 AM
RE: Better update routine? - by InsiteFX - 09-20-2017, 03:08 AM
RE: Better update routine? - by spjonez - 09-20-2017, 06:40 AM
RE: Better update routine? - by rtenny - 09-20-2017, 07:50 AM
RE: Better update routine? - by Kaosweaver - 09-21-2017, 05:53 AM
RE: Better update routine? - by Narf - 09-22-2017, 11:42 AM
RE: Better update routine? - by PaulD - 09-22-2017, 03:20 PM
RE: Better update routine? - by Narf - 09-25-2017, 02:07 AM
RE: Better update routine? - by rtenny - 09-21-2017, 08:15 AM
RE: Better update routine? - by PaulD - 09-21-2017, 08:23 AM
RE: Better update routine? - by rtenny - 09-22-2017, 03:39 AM
RE: Better update routine? - by PaulD - 09-27-2017, 03:05 PM
RE: Better update routine? - by Kaosweaver - 09-25-2017, 08:24 AM
RE: Better update routine? - by PaulD - 09-25-2017, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB