Skip to content

Commit c5edb23

Browse files
authored
Merge pull request #12 from DoktorShift/deploy
logos + install script
2 parents 4ff8cdf + 0c10926 commit c5edb23

12 files changed

Lines changed: 51 additions & 13 deletions

File tree

docs/.vitepress/theme/components/DeploymentGrid.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ const platforms = [
5050
name: 'Citadel',
5151
desc: 'App Store install',
5252
url: '/guide/installation/node-platforms#citadel',
53+
dark: '/logos/backends/citadel-dark.svg',
54+
light: '/logos/backends/citadel-light.svg',
5355
difficulty: 'Easy',
5456
features: 'Full',
5557
},
@@ -63,6 +65,7 @@ const platforms = [
6365
name: 'LNbits SaaS',
6466
desc: 'Official hosted solution',
6567
url: '/guide/installation/saas',
68+
icon: '/logos/lnbits.svg',
6669
difficulty: 'Easiest',
6770
features: 'Full',
6871
badge: 'Fastest',
@@ -87,6 +90,7 @@ const platforms = [
8790
name: 'Docker',
8891
desc: 'Recommended for production',
8992
url: '/guide/installation/docker',
93+
icon: '/logos/backends/docker.svg',
9094
difficulty: 'Moderate',
9195
features: 'Full',
9296
badge: 'Production',
@@ -95,6 +99,7 @@ const platforms = [
9599
name: 'uv',
96100
desc: 'Fastest Python install',
97101
url: '/guide/installation/uv',
102+
icon: '/logos/backends/python.svg',
98103
difficulty: 'Moderate',
99104
features: 'Full',
100105
badge: 'Dev',
@@ -103,27 +108,31 @@ const platforms = [
103108
name: 'Poetry',
104109
desc: 'Traditional Python setup',
105110
url: '/guide/installation/poetry',
111+
icon: '/logos/backends/poetry.svg',
106112
difficulty: 'Moderate',
107113
features: 'Full',
108114
},
109115
{
110116
name: 'Nix',
111117
desc: 'Reproducible builds',
112118
url: '/guide/installation/nix',
119+
icon: '/logos/backends/nixos.svg',
113120
difficulty: 'Advanced',
114121
features: 'Full',
115122
},
116123
{
117124
name: 'AppImage',
118125
desc: 'Desktop app',
119126
url: '/guide/installation/appimage',
127+
icon: '/logos/backends/appimage.svg',
120128
difficulty: 'Easy',
121129
features: 'Full',
122130
},
123131
{
124132
name: 'Fly.io',
125133
desc: 'Cloud deployment',
126134
url: '/guide/installation/flyio',
135+
icon: '/logos/backends/flyio.svg',
127136
difficulty: 'Moderate',
128137
features: 'Full',
129138
},
@@ -132,6 +141,7 @@ const platforms = [
132141
]
133142
134143
function logoSrc(item) {
144+
if (item.icon) return item.icon
135145
if (!item.dark && !item.light) return null
136146
return isDark.value ? item.dark : item.light
137147
}

docs/guide/installation/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ No matter how you deploy, LNbits connects to **your** Lightning backend. Your ke
2020
| --- | --- |
2121
| **Try it out quickly** | [LNbits SaaS](/guide/installation/saas) or [Docker](/guide/installation/docker) |
2222
| **Already run a Bitcoin node** | [Node platforms](/guide/installation/node-platforms) (one click) |
23+
| **Debian/Ubuntu server** | [Install script](/guide/installation/uv#install-script-debian-ubuntu) (one command) |
2324
| **Production server** | [Docker](/guide/installation/docker) + [PostgreSQL](/guide/installation/postgresql) |
2425
| **Development** | [uv](/guide/installation/uv) or [Poetry](/guide/installation/poetry) |
2526
| **NixOS user** | [Nix](/guide/installation/nix) |

docs/guide/installation/uv.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,14 @@ lnbits-cli superuser
6868

6969
## Install script (Debian/Ubuntu)
7070

71-
For a quick install on Debian-based systems:
71+
The official one-line install script handles everything: system dependencies, cloning, venv setup, and configuration.
7272

7373
```bash
74-
# One-liner install (installs system deps, clones repo, sets up venv)
75-
sudo apt install python3-dev python3-venv libpq-dev build-essential -y && \
76-
git clone https://github.com/lnbits/lnbits.git && \
77-
cd lnbits && \
78-
uv venv && source .venv/bin/activate && \
79-
uv pip install . && \
80-
cp .env.example .env
74+
wget https://raw.githubusercontent.com/lnbits/lnbits/main/lnbits.sh && chmod +x lnbits.sh && ./lnbits.sh
8175
```
8276

77+
After installation, use `./lnbits.sh` to run, or for more control: `cd lnbits && uv run lnbits`.
78+
8379
## Updating
8480

8581
```bash

docs/public/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
## Installation
1919
- [Choose a Method](https://docs.lnbits.com/guide/installation/): Decision tree for picking the right installation method
2020
- [Docker](https://docs.lnbits.com/guide/installation/docker): Container-based setup with Docker Compose (recommended for production)
21-
- [uv](https://docs.lnbits.com/guide/installation/uv): Fastest from-source install using the uv package manager
21+
- [uv](https://docs.lnbits.com/guide/installation/uv): Fastest from-source install using the uv package manager. Includes official one-line install script for Debian/Ubuntu (lnbits.sh)
2222
- [Poetry](https://docs.lnbits.com/guide/installation/poetry): Traditional Python setup with Poetry dependency manager
2323
- [Nix](https://docs.lnbits.com/guide/installation/nix): Reproducible builds with Nix flakes
2424
- [AppImage](https://docs.lnbits.com/guide/installation/appimage): Desktop application for Linux, macOS, and Windows
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 1 addition & 4 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)