Skip to content

Instantly share code, notes, and snippets.

Last active January 15, 2017 18:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Magento 1 - Initialize development environment using n98-magerun
function init_dev_env_mag1() {
n98mr config:set dev/log/active 1
n98mr config:set dev/template/allow_symlink 1
n98mr config:set web/cookie/cookie_httponly 0
n98mr config:set web/cookie/cookie_path ""
n98mr config:set web/cookie/cookie_domain ""
n98mr config:set dev/js/merge_files 0
n98mr config:set dev/css/merge_files 0
n98mr config:set dev/css/merge_css_files 0
n98mr config:set admin/security/session_cookie_lifetime 7200
n98mr config:set google/analytics/active 0
n98mr config:set google/analytics/account ""
n98mr cache:clean
n98mr cache:disable
n98mr admin:user:delete --force ${MAGENTO_LOCAL_ADMIN_USERNAME}
n98mr sys:check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment