WordPress / WordPress/HelpHub

Fix installation

Open
#152 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dev-settings
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.yml and 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.