I have a staging environment where I commit my changes to show clients (my server), and a local environment where I edit and test from (my pc).
The only problem I see you having is that you want your local database to reflect changes made on your production database. This can be accomplished relatively painlessly by setting up your local database as a slave to the master.
I would also recommend setting up some sort of revision management so you don't have to remember which files you've modified when it comes time to migrate to the production server. One thing to keep in mind with this is that you should be sure to not include (svn ignore) the webroot/index.php if the cakephp core is located in a different place on your production server. Then you can just do an "svn update" to update your production to the latest version.
On Thu, Nov 26, 2009 at 7:37 PM, Dave <make.cake.bake@gmail.com> wrote:
I am building an app that will never be finished....i mean it will
always be constantly added to and add new features or what not.
Obviously for each new addition i do not want to work on the live
public site, so I was wondering what the best approach would be?
I was thinking:
(all on the same server)
remove admin_ functions completely from the live site,
run cake _admin from a dev folder which is where all new production /
testing takes place,
dev folder would use the same db connection so i have access to the
live data to use during testing,
this way i have a live public production version and a behind the
scenes "as if it was live" development version and each time a
completed new section is built and tested i can just copy the new
files into the live site structure.
Thanks,
Dave
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment