-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove custom installation instructions from index.md.
- Loading branch information
1 parent
fe69d20
commit 565a5b9
Showing
2 changed files
with
0 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ cache | |
dist | ||
_site | ||
!.vitepress | ||
!.vitepress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. |