http://www.magentoucd.com
博客:http://blog.csdn.net/shuishui8310/article/category/640421
查看当前模式:
magento deploy:mode:show
改变模式:
magento deploy:mode:set {mode} [-s|--skip-compilation]
{mode} is required; it can be either developer or production
–skip-compilation is an optional parameter you can use to skip code compilation when you change to production mode.
设置为开发模式后报错处理:删除”var/.maintenance.flag”
During theme development, when you change any files stored here, you need to clear pub/static and var/view_preprocessed directories, and then reload the pages. Otherwise the old versions of files are displayed on the storefront.