Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if you already use wallapop and want it in the terminal, this cli gives you a pr
install the binary with curl:

```bash
curl -fsSL https://raw.githubusercontent.com/Microck/wallapop-cli/main/scripts/install.sh | sh
curl -fsSL https://wallapop.micr.dev/install.sh | sh
wallapop --version
```

Expand Down
5 changes: 4 additions & 1 deletion docs-site/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# docs-site

The documentation site for `wallapop-cli`, built with Fumadocs on Next.js. Deployed on Vercel
as `wallapop-cli`; the `wallapop.micr.dev` DNS record (Netlify NS1) is still missing.
as `wallapop-cli` at `https://wallapop.micr.dev`.

`/install.sh` rewrites to `scripts/install.sh` on GitHub main. Keep the installer
in that one source file; the short URL and install examples use it directly.

```bash
npm ci
Expand Down
2 changes: 1 addition & 1 deletion docs-site/content/docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: Get the binary on macOS, Linux or Windows.
Installs the latest release into `~/.local/bin` (override with `WALLAPOP_INSTALL_DIR`):

```bash
curl -fsSL https://raw.githubusercontent.com/Microck/wallapop-cli/main/scripts/install.sh | sh
curl -fsSL https://wallapop.micr.dev/install.sh | sh
```

## Homebrew
Expand Down
8 changes: 7 additions & 1 deletion docs-site/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "nextjs",
"installCommand": "npm ci",
"buildCommand": "npm run build"
"buildCommand": "npm run build",
"rewrites": [
{
"source": "/install.sh",
"destination": "https://raw.githubusercontent.com/Microck/wallapop-cli/main/scripts/install.sh"
}
]
}
Loading