Configuring Magento for development

Configuring Magento for development

New to the Magento or just used to doing things one way? Here are few tips for configuring Magento for development, in case you overlooked them. Please note, the more proper title of this article would be something like: Configuring Magento for development on local machine (after installation config). Meaning the tips outlined here only apply after the Magento is already installed.

Here are the steps that you should do in order to set your Magento more suited for development:

  • System > Cache Management > Disable All
  • System > Configuration > Advanced > Developer > Log Settings > Enabled => Yes
  • System > Configuration > Web > Search Engine Optimization > Use Wbe Server Rewrites => Yes
  • System > Index Management > Reindex All
  • Open .htaccess and set: SetEnv MAGE_IS_DEVELOPER_MODE “true” at the end of the file
  • Open .htaccess and set: php_value display_errors On somewhere within <IfModule mod_php5.c>
  • Rename /errors/local.xml.sample to /errors/local.xml
  • Create one sample customer with full valid American address (for example use US/California, city Alamo with ZIP 94507), and one with full valid non American address (other country) to test payment and shipping gateways properly
  • Compensate for the possible lack of email server by doing something like explained in this article

Hope it helps.

Cheers.

You made it all the way down here so you must have enjoyed this post! You may also like:

How to generate SSH keys for Git authorization Hrvoje Ivancic
, | 21

How to generate SSH keys for Git authorization

Local development with Valet+ Damir Korpar
Damir Korpar, | 0

Local development with Valet+

How we developed a new Morris 4×4 Center store – case study Maja Kardum
Maja Kardum, | 1

How we developed a new Morris 4×4 Center store – case study

7 comments

  1. This information is very useful to those who are into magento development. Is this applicable to Magento 2.0?

  2. Chech if JS and CSS compile is disable in backend configuration and use firebug developer extencion for firefox happy coding 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.