mysql - Duplicating existing cakephp app for development -
i need make development version of cakephp app own db developer can work on without disturbing current users.
i thought simple, copied entire director /project /project_dev , copied db "project_db" "project_db_dev". went /project_dev/config/database.php , changed db "project_db_dev".
when went see had done, saw app still connecting same db, if i'd changed nothing. realized original folder name referenced in /app/webroot/.htaccess need find/replace instances of folder name?
what steps should follow duplicate existing cakephp app?
you need setup kind of development lifecycle.
generally speaking developer shouldn't doing development on server. best way handle locally using stack of kind such lamp (linux, apache, mysql, php) switch out linux other os's. there multiple cloud solution these environments such koding.com
using git version control developer can develop locally push code through server after being thoroughly tested locally or on dev server or kind.
keeping dev work , live work away each other key.
Comments
Post a Comment