Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct way to clone with wp in own directory #1474

Open
hookedgeardev opened this issue Feb 16, 2020 · 0 comments
Open

Correct way to clone with wp in own directory #1474

hookedgeardev opened this issue Feb 16, 2020 · 0 comments

Comments

@hookedgeardev
Copy link

hookedgeardev commented Feb 16, 2020

Hoping to end up with multiple folders in the root, each containing a wordpress install in it's own directory.

In site/wp/wp-config.common.php I have defined the project root as up one level:

define('VP_PROJECT_ROOT', dirname(__DIR__, 1));

This successfully adds the .git folder to the correct location. site/.git

cloning results:

Success: Site files cloned
Success: Clone added as a remote
Success: Enabled pushing to the original repository
Success: Enabled pushing to the clone
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Error: Config file does not exist. Please run wp core config first.
Success: wp-config.php updated
Success: Copied VersionPress
Error: wp-config.php file not found

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

No branches or pull requests

1 participant