Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to setup a Development site?


nrieger

Recommended Posts

Posted

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

Posted
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.....

Posted
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...