Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Saving a "Master" installation w/ contributions?


hebert01

Recommended Posts

Hi-

 

I just completed a customization of osC, setting it up with all of the contributions I'll use, etc. I not only modified many files, but also the mySQL database, etc. Everything's working well.

 

Now I'd like to archive this new configuration as my "master" for future installations of osC that I may need.

 

What's the proper way to save everything just as I have it set up now to my local computer, and make it easier for me to install this configuration to another server in the future? If I follow the default installation procedure (following the prompts), I'd be forced to redo all my work. Not sure of the best way to do this..

 

Thanks in advance for your help!

Link to comment
Share on other sites

backup the database first, storing it in the admin/backups directory, then zip the whole site to a file. then all you have to do is unzip to another directory each time you want to use it. just never overwrite anything in this file at all anymore.

Link to comment
Share on other sites

Hi-

 

I just completed a customization of osC, setting it up with all of the contributions I'll use, etc.  I not only modified many files, but also the mySQL database, etc. Everything's working well.

 

Now I'd like to archive this new configuration as my "master" for future installations of osC that I may need. 

 

What's the proper way to save everything just as I have it set up now to my local computer, and make it easier for me to install this configuration to another server in the future?  If I follow the default installation procedure (following the prompts), I'd be forced to redo all my work. Not sure of the best way to do this..

 

Thanks in advance for your help!

If this is on your local pc, why not back up the db and then create a zip archive of everything EXCEPT the two configure.php files.

 

When you next install onto a server, install the stock osc and then FTP all the files in the zip to the new server and restore the db.

 

Have I missed anything? Does this sound alright?

Link to comment
Share on other sites

you would still want the configure.php files, then all you have to do is modify them.  if you dont have the configure.php files you are scr....

But if you do a stock install first to get it done, these files would be setup with all the necessary info. It's just a case of copying the new files across.

Link to comment
Share on other sites

so... for an install that's not on my local pc, I'd first need to copy everything to local via FTP, then backup my database to the admin/backups directory on my local machine, then zip it all up?

 

Just making sure I've got it. I'm just a simple caveman.

Link to comment
Share on other sites

what ed was talking about, is after the modifications, etc to the database and such, that he now has a custom installation. so if he were to do a stock installation, all the database changes are gone. the installation could also fail if he uses the modified code, as the database would not be complete, with all the new fields, etc.

 

thus it is easier to ftp the site to where it is to be installed, use phpmyadmin or mysql connector to setup the database and manually change the parameters for the configure.php files and you are up and going in about 5 minutes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...