Skip to content

Commit

Permalink
#25 - Add Woodoo Buildtools installation and configuration
Browse files Browse the repository at this point in the history
- Remove existing `frontend` command to install Woodoo correctly
- Add replace notification in `README.md` if frontend command exists in `.ddev/commands/web/frontend`
- Add post-installation action with relevant next steps notifications

Fixes #35
  • Loading branch information
dermatz committed Aug 11, 2024
1 parent dd7e04b commit c9b1471
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ All notable changes to this project will be documented in this file.
- added alias annotations for 'ddev f' and 'ddev fe' commands in `commands/web/frontend` (_requires DDEV >= 1.23.4_)
- updated `README.md` to mention the aliases 'ddev f' and 'ddev fe' for the frontend commands
- updated `commands/web/woodoo_components/help` to list the aliases 'ddev f' and 'ddev fe' for the frontend commands
- remove existing `frontend` command to install woodoo correctly
- add replace notification in `README.md` if frontend command exist in `.ddev/commands/web/frontend`
- add post installation action with relevant next steps notifications

---

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Special thanks to e3n GmbH & Co. KG for your Support!

##### Latest stable version (recommended)

Be sure, if there is an existing `.ddev/commands/web/frontend` command, it will be replaced with this woodoo frontend command.

```shell
ddev get dermatz/ddev-woodoo-buildtools-magento
```
Expand Down
6 changes: 6 additions & 0 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ name: ddev-woodoo-buildtools-magento
pre_install_actions:
# https://github.com/Morgy93/ddev-gum
- if ! ddev get --installed | grep -q "Morgy93/ddev-gum"; then ddev get Morgy93/ddev-gum; fi
- if [ -f .ddev/commands/web/frontend ]; then rm .ddev/commands/web/frontend; echo "- Existing frontend command replaced."; fi

project_files:
- commands/web/woodoo_components/
- commands/web/frontend
- commands/host/frontend-update

post_install_actions:
- echo -n "Woodoo Buildtools installed. Run 'ddev restart' to apply changes."
- echo -n "After restart you can use 'ddev frontend' to run frontend commands."
- echo "For more information visit https://github.com/dermatz/ddev-woodoo-buildtools-magento"

0 comments on commit c9b1471

Please sign in to comment.