How to create/manage a development, staging and production site for Opencart?
Currently opencart is at /var/www/opencart and if I want to change something I use filezilla to paste over the existing content.
I want to create a workflow of development then staging to test and then production when everything looks fine. I would need to keep track of the changes/versions in case of needing to rollback.
Should I create stagine.example.com to test the staging phase on the same server?
For development, I was thinking on creating a localhost config file for nginx.
Server is LEMP with MariaDB, PHP7.2 and Opencart 184.108.40.206
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×