Skip to content

Commit

Permalink
Remove custom installation instructions from index.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Feb 1, 2024
1 parent fe69d20 commit 565a5b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ cache
dist
_site
!.vitepress
!.vitepress
41 changes: 0 additions & 41 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,44 +37,3 @@ services:
But make sure you use one of the available [patch tags](https://hub.docker.com/r/bitnami/apache/tags) for the underlying image we are using.
## Custom Installation
This plugin is included with Lando by default. That means if you have Lando version `3.0.8` or higher then this plugin is already installed!

However if you would like to manually install the plugin, update it to the bleeding edge or install a particular version then use the below. Note that this installation method requires Lando `3.5.0+`.

:::: code-group
::: code-group-item LANDO 3.21+
```bash:no-line-numbers
lando plugin-add @lando/apache
```
:::
::: code-group-item HYPERDRIVE
```bash:no-line-numbers
# @TODO
# @NOTE: This doesn't actaully work yet
hyperdrive install @lando/apache
```
:::
::: code-group-item DOCKER
```bash:no-line-numbers
# Ensure you have a global plugins directory
mkdir -p ~/.lando/plugins
# Install plugin
# NOTE: Modify the "yarn add @lando/apache" line to install a particular version eg
# yarn add @lando/[email protected]
docker run --rm -it -v ${HOME}/.lando/plugins:/plugins -w /tmp node:14-alpine sh -c \
"yarn init -y \
&& yarn add @lando/apache --production --flat --no-default-rc --no-lockfile --link-duplicates \
&& yarn install --production --cwd /tmp/node_modules/@lando/apache \
&& mkdir -p /plugins/@lando \
&& mv --force /tmp/node_modules/@lando/apache /plugins/@lando/apache"
# Rebuild the plugin cache
lando --clear
```
:::
::::

You should be able to verify the plugin is installed by running `lando config --path plugins` and checking for `@lando/apache`. This command will also show you _where_ the plugin is being loaded from.

0 comments on commit 565a5b9

Please sign in to comment.