Fix installation
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 116
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
There's no reason to have to empty out a wp-content folder from a fresh install.
Instead, add a provision folder, and copy the custom site template provisioning files, move everything to a public_html/wp-content folder, hardcode the domains etc, and the new install instructions would be:
Add this to
vvv-custom.ymland reprovision:helphub: repo: https://github.com/Kenshino/HelpHub.git hosts: - wordpress.org
Alternatively, copy the custom site template into a new repo, and add a line that does:
rm -r public_html/wp-content
git clone https://github.com/Kenshino/HelpHub.git public_html/wp-content
to provision/vvv-init.sh
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the current custom site template provisioning files and provision/vvv-init.sh, then review how vvv-custom.yml installs HelpHub into public_html. Compare the proposed provision-folder layout with the alternative repository clone approach. Done means a fresh install no longer requires manually emptying public_html/wp-content and the documented reprovisioning steps work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, php, shell, wordpress, yaml
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100