Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Feedback on page: /guides/v2.3/config-guide/cli/config-cli-subcommands-mode.html (update git rm instruction) #4748

Closed
SD-dthompson opened this issue Jun 13, 2019 · 1 comment

Comments

@SD-dthompson
Copy link

General issue

rm -rf command described in the "Change to developer mode" section shows absolute paths

Description:

it seems highly unlikely (if even possible) that someone's magento root would be the same as their actual system root directory, which is where the current recommended rm -rf command (for use before switching to developer mode from production mode) suggests the files to be deleted live.

Possible solutions:

change
rm -rf /generated/metadata/* /generated/code/*

to
rm -rf generated/metadata/* generated/code/*

or as a variable example, rather than a command someone might copy-paste:
rm -rf <magento_root>/generated/metadata/* <magento_root>/generated/code/*

Additional information:

might be worth looking back to earlier versions (same issue exists on the 2.2 version instructions as well, the 2.1 version instructions were for different directories, but did at least specify the <magento_root>)

@keharper
Copy link
Contributor

Fixed by #4779

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants