The Right Way
Development environment should mimic the production environment as closely as possible. This helps to avoid it-worked-fine-on-my-OS and it-used-to-look-different situations when moving from development to production.
That’s why we recommend using a virtual machine configured to meet CS-Cart system requirements.
We created a script to deploy the environment on a clean installation of Ubuntu or CentOS with 6 commands and a few tweaks in a configuration file. Install Ansible and run one of our scenarios (playbooks) to have the environment configured for you.
Setting up a separate server or a virtual machine isn’t always an option. If that’s the case, use one of the following ways, depending on your operating system: