Question

I am creating an e-commerce website using OpenCart and hostgator for hosting. I want to create a development environment with OpenCart installed on it so that I can view changes and edits without making them live. I also want an easy way to be able to save changes and push them to the live website.

Can anyone point me in the right direction? Thank you.

Was it helpful?

Solution

If you are the only developer and tester of the site, then simply install WAMP (Windows), MAMP (MacOS), or XAMPP on your development machine. You will then be able to install OpenCart, edit any files, and perform testing using a browser and going to http://localhost/

If there are a number of developers, or you need the development environment to be accessible to other people in other locations, simply setup a subdomain under your existing domain (like "dev.server.com" where the production site is "server.com") and install it there. (If you go this route, I would suggest researching HTACCESS rules to limit access to the development environment to yourself and other authorised people, rather than making it completely public.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top