nrieger Posted March 31, 2006 Posted March 31, 2006 Hi there, Would anybody have a goood suggestion of how to setup my site so that i have a development and a production site. When ever i need to do a change i woud i like to see it live before i put it in production. Thanks in advance, Nat
Jack_mcs Posted March 31, 2006 Posted March 31, 2006 You just need to create a sub-directory on your server, copy your files to it, change the configure files to account for the new path and database and create a new database. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
nrieger Posted April 2, 2006 Author Posted April 2, 2006 You just need to create a sub-directory on your server, copy your files to it, change the configure files to account for the new path and database and create a new database. Jack Thanks really but im not that good and quick :) Can you please be alittle more specific.....
nrieger Posted April 2, 2006 Author Posted April 2, 2006 You just need to create a sub-directory on your server, copy your files to it, change the configure files to account for the new path and database and create a new database. Jack I already detup a new sub dir(called dev), and ill setup a new database and enter the info in the config file. Here is the config file. Where and what would i change so that i will see the dev server. And how will i get into that? is it the smae address as the general site www.kippahcorner.com or i will put in www.kippahcorner.com/dev? "define('HTTP_SERVER', 'http://www.kippahcorner.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.kippahcorner.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/kunden/homepages/3/d136923176/htdocs/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/kunden/homepages/3/d136923176/htdocs/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/kunden/homepages/3/d136923176/htdocs/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Please help me..... Thanks
Jack_mcs Posted April 3, 2006 Posted April 3, 2006 Assuming the dev directroy is on the same level as the catalog directory, you need to replace all instances of catalog (lower case only) with dev. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.