No problem, it is always good to see when someone goes the "correct" way ..
Winmerge, see
https://winmerge.org/
A tool to compare files and check the differences. Files can be edit directly in it.
XAMPP > Controlpanel: basically you need only MySQL and Apache. all others not really (but you can if you want).
What I do, is to edit the php.ini and "tweak" that a bit.
So, for example I add there my SMTP settings to be able to send emails right out of the dev shop the "normal" way.
Needed then also to enable and add the SMTP-Settings in the store configuration.
TortoiseSVN: I use that for my locale development.
Advantages are:
1. no external dependies
2. useable also when I have no internet
3. all files are stored locale
Simply install, setup (define your settings) and go.
But only needed if you want/need a "version control" (fine to have ..)
config.php
Every OpenCart Shop has 2 config.php: one in root folder, one in ../admin
Otherwise the store would not operate ..
.htaccess
Is optional if you want to test locale the SEO-URLs and/or other
If no SEO, and/or no additional requirement, no need to for a .htaccess
One (last) tipp: try to configure XAMPP the same way your production server is.
Same php-Version is very important, MySQL (Maria-DB) also.
Not so other like FPM or not.
But if you have some special settings on your production server, you should try to have them on your dev-server also.
If not replicable 1:1, try to have similiar options.
That way you avoid big troubles later!
And one more tipp: try to have a clean structure!
Do not put all files into one (root) folder.
For example:
{rootfolder} htdocs
Code: Select all
|- oc
|- 3
|- 3
|- 0
|- 3
|- 6
|- 1
and so on.
Doing so, calling the different OpenCart versions are very easy like:
https://localhost/oc/3/3/0/3 or
https://localhost/oc/3/3/0/6
SSL-Certificate for enabling https can be done - and should.
With XAMPP it is not required to install an external or paid.
The default will not work (!!), because to weak.
Simply create one locale with stronger algo - search the net for instructions (is done within 2 minutes).