-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9525fa2
commit 8770896
Showing
3 changed files
with
6 additions
and
48 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
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ description: Learn how to get started with the Lando Backdrop recipe. | |
Before you get started with this recipe we assume that you have: | ||
|
||
1. [Installed Lando](https://docs.lando.dev/getting-started/installation.html) and gotten familiar with [its basics](https://docs.lando.dev/cli/) | ||
2. [Initialized](https://docs.lando.dev/getting-started/init.html) a [Landofile](https://docs.lando.dev/core/v3) for your codebase for use with this recipe | ||
2. [Initialized](https://docs.lando.dev/cli/init.html) a [Landofile](https://docs.lando.dev/core/v3) for your codebase for use with this recipe | ||
3. Read about the various [services](https://docs.lando.dev/core/v3/lando-service.html), [tooling](https://docs.lando.dev/core/v3/tooling.html), [events](https://docs.lando.dev/core/v3/events.html) and [routing](https://docs.lando.dev/core/v3/proxy.html) Lando offers. | ||
|
||
## Quick Start | ||
|
@@ -23,7 +23,7 @@ mkdir backdrop && cd backdrop | |
# Initialize a backdrop recipe using the latest backdrop version | ||
lando init \ | ||
--source remote \ | ||
--remote-url https://github.com/backdrop/backdrop/releases/latest/download/backdrop.zip \ | ||
--remote-url https://objects.githubusercontent.com/github-production-release-asset-2e65be/12285928/c6a129e8-867d-45b3-a307-c46e22076739?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240201T224039Z&X-Amz-Expires=300&X-Amz-Signature=9edb500048b3a1bddb9f26468aa97a4fdb85951e90232de6f590231752dfcb52&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=12285928&response-content-disposition=attachment%3B%20filename%3Dbackdrop.zip&response-content-type=application%2Foctet-stream \ | ||
--recipe backdrop \ | ||
--webroot backdrop \ | ||
--name my-first-backdrop-app | ||
|
@@ -42,44 +42,3 @@ lando bee site-install | |
lando bee uli | ||
``` | ||
|
||
## 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/backdrop | ||
``` | ||
::: | ||
::: code-group-item HYPERDRIVE | ||
```bash:no-line-numbers | ||
# @TODO | ||
# @NOTE: This doesn't actaully work yet | ||
hyperdrive install @lando/backdrop | ||
``` | ||
::: | ||
::: code-group-item DOCKER | ||
```bash:no-line-numbers | ||
# Ensure you have a global plugins directory | ||
mkdir -p ~/.lando/plugins | ||
# Install plugin | ||
# NOTE: Modify the "npm install @lando/backdrop" line to install a particular version eg | ||
# npm install @lando/[email protected] | ||
docker run --rm -it -v ${HOME}/.lando/plugins:/plugins -w /tmp node:14-alpine sh -c \ | ||
"npm init -y \ | ||
&& npm install @lando/backdrop --production --flat --no-default-rc --no-lockfile --link-duplicates \ | ||
&& npm install --production --cwd /tmp/node_modules/@lando/backdrop \ | ||
&& mkdir -p /plugins/@lando \ | ||
&& mv --force /tmp/node_modules/@lando/backdrop /plugins/@lando/backdrop" | ||
# 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/backdrop`. This command will also show you _where_ the plugin is being loaded from. |