Automattic/jetpack

Docker: a script to turn WP into subfolder install

Open

#10,800 opened on Dec 4, 2018

 (0 comments) (0 reactions) (0 assignees)PHP (877 forks)user submission
DockerEnhancementHacktoberfest

Repository metrics

Stars
 (1,808 stars)
PR merge metrics
 (Avg merge 4d 5h) (645 merged PRs in 30d)

Description

We sometimes need to test in WordPress sub-folder install.

Would be useful to have a script for the Jetpack-Docker setup, which would turn the setup into a sub-folder install and back to regular root folder install.

https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Our Docker setup:

https://github.com/Automattic/jetpack/tree/master/docker#readme

Helper scripts live here:

https://github.com/Automattic/jetpack/blob/5a27262047656478aaa6fce706e7aa88c6eded5f/package.json#L26-L39

Contributor guide