Cloning oscommerce website for development
Tue, 02/12/2008 - 16:13 — wizap- Create dev.domain.tld site in hosting control panel.
- Create the database and user.
- Copy over the database and files.
- Update the database and user info in "includes/configure.php" and "admin/includes/configure.php"
.
- Also update the file paths in the configure.php files.
- Update the links to point to the development site:
$ for x in `grep -r www.domain.tld * -l` ; do perl -pi \
-e 's/www\.domain\.tld/dev\.domain\.tld/g' $x ; done - Optionally disable SSL in "includes/configure.php".
- Change ownership of files as required.
- Login in as admin and change the cache location.