@fabioplunser/epd 0.5.11 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,13 +8,11 @@ Everything you need to prepare your development environment and target servers f
8
8
 
9
9
  `epd` runs on your local development machine or inside a CI runner (such as GitHub Actions).
10
10
 
11
- - **Operating System**: macOS, Linux, or Windows (via WSL2).
12
- - **Runtime**:
13
- - [Bun](https://bun.sh) v1.1.0 or higher *(recommended)*, OR
14
- - [Node.js](https://nodejs.org) v18.0.0 or higher.
11
+ - **Operating System**: Linux or macOS (or Windows via WSL2).
12
+ - **Standalone Binary**: No local runtimes (Node.js, Bun, Python) are required when using the standalone installer.
15
13
  - **Tools**:
16
14
  - OpenSSH client (`ssh`).
17
- - Docker Desktop or Docker Engine (required if using `mode: docker`).
15
+ - Docker Desktop or Docker Engine (required locally only if using `mode: docker` to build images).
18
16
  - `rsync` (required if using `mode: process`).
19
17
 
20
18
  ---
@@ -30,8 +28,8 @@ Everything you need to prepare your development environment and target servers f
30
28
  - Arch Linux / Alpine Linux
31
29
  - **SSH Access**:
32
30
  - Open SSH port (default: 22).
33
- - Root login or a user allowed to run `sudo` (with a password or a passwordless rule).
34
- - SSH key authentication, or initial login access to install a public key.
31
+ - Root login or a user allowed to run `sudo`.
32
+ - Password or SSH key authentication.
35
33
  - **Firewall & Ports**:
36
34
  - **Port 80 (HTTP)**: Required for Let's Encrypt HTTP-01 challenge and HTTP traffic redirection.
37
35
  - **Port 443 (HTTPS)**: Required for encrypted TLS/SSL traffic.
@@ -45,13 +43,21 @@ Everything you need to prepare your development environment and target servers f
45
43
 
46
44
  ## Installing EPD
47
45
 
48
- ### Option 1: Bun (Recommended)
46
+ ### Option 1: Zero-Dependency Standalone Installer (Recommended)
47
+
48
+ Installs the pre-compiled, self-contained standalone executable directly for Linux (`x64` / `arm64`) or macOS (`Apple Silicon` / `Intel`). **Requires no Node.js or Bun runtime:**
49
+
50
+ ```bash
51
+ curl -fsSL https://raw.githubusercontent.com/FabioPlunser/epd/main/install.sh | bash
52
+ ```
53
+
54
+ ### Option 2: Bun
49
55
 
50
56
  ```bash
51
57
  bun install -g @fabioplunser/epd
52
58
  ```
53
59
 
54
- ### Option 2: NPM / PNPM / Yarn
60
+ ### Option 3: NPM / PNPM / Yarn
55
61
 
56
62
  ::: code-group
57
63
 
@@ -69,15 +75,6 @@ yarn global add @fabioplunser/epd
69
75
 
70
76
  :::
71
77
 
72
- ### Option 3: Standalone Linux Binary (No Node/Bun Required)
73
-
74
- If you are running in CI or want a single standalone binary:
75
-
76
- ```bash
77
- curl -fsSL https://github.com/FabioPlunser/epd/releases/latest/download/epd-linux-x64 -o /usr/local/bin/epd
78
- chmod +x /usr/local/bin/epd
79
- ```
80
-
81
78
  ### Option 4: Run via `npx` / `bunx` Without Installation
82
79
 
83
80
  ```bash
@@ -88,82 +85,29 @@ bunx @fabioplunser/epd deploy
88
85
 
89
86
  ---
90
87
 
91
- ## Configuring SSH Access
92
-
93
- `epd` connects to servers using your system's SSH configuration.
94
-
95
- `epd setup` first tests public-key login without sudo, using keys available to
96
- OpenSSH, including your `ssh-agent`. Load an encrypted key with `ssh-add` before
97
- running setup. An explicit `ssh.key` selects that identity.
98
-
99
- If key authentication is rejected in an interactive terminal, setup installs a
100
- public key using a one-time SSH login. It uses the configured key, lets you select
101
- an agent key, or uses a standard local key. If none exists, it creates an Ed25519
102
- key with `ssh-keygen`. OpenSSH handles the login password prompt; EPD sends only
103
- the public key and preserves existing `authorized_keys` entries. Setup verifies
104
- a fresh key-authenticated connection before continuing. If the server disallows
105
- password login, authorize your key through the provider console or an administrator.
88
+ ## Automated Server & SSH Setup
106
89
 
107
- CI never attempts interactive key installation. Authorize its key beforehand.
90
+ `epd` makes server onboarding effortless:
108
91
 
109
- SSH login and sudo are separate: **`ssh-add` does not grant passwordless sudo**.
110
- After key login succeeds, setup checks sudo authorization, trying passwordless
111
- sudo first. It asks for the remote user's sudo password only if the server requires
112
- one. EPD does not change your server's sudo policy automatically.
92
+ When running `epd setup` against a fresh server:
93
+ 1. **Key Detection**: EPD checks for existing local keys (`~/.ssh/id_ed25519`, `~/.ssh/gh_deploy`, etc.) or loads keys from your active `ssh-agent`. If none exist, it generates a secure Ed25519 key for you.
94
+ 2. **One-Time Password Authentication**: If key authentication is not yet authorized on the remote server, EPD interactively prompts for the server password in your terminal.
95
+ 3. **Automated Key Installation**: EPD installs the public key to `~/.ssh/authorized_keys` with secure permissions (`0700` / `0600`).
96
+ 4. **Passwordless Sudo Configuration**: If deploying with a non-root user (e.g. `fabio`), EPD uses the provided password to configure passwordless sudo rules in `/etc/sudoers.d/epd`.
97
+ 5. **Never Asked Again**: From that point on, all deploys, rollbacks, and log streams run completely passwordless and non-interactively!
113
98
 
114
- ### 1. Test Direct Connection
115
-
116
- Before running `epd setup`, verify you can connect without entering a password:
117
-
118
- ```bash
119
- ssh root@203.0.113.10
120
- ```
121
-
122
- ### 2. Copy SSH Key to Server
123
-
124
- If you need to copy your local SSH key to the remote server:
125
-
126
- ```bash
127
- ssh-copy-id root@203.0.113.10
128
- ```
129
-
130
- ### 3. Custom SSH Keys & Ports
131
-
132
- If your server uses a non-standard port or specific key, specify them in `epd.yml`:
99
+ ---
133
100
 
134
- ```yaml
135
- ssh:
136
- user: ubuntu
137
- port: 2222
138
- key: ~/.ssh/id_ed25519
139
- proxy_jump: bastion.example.com
140
- ```
101
+ ## Pre-flight Diagnostics
141
102
 
142
- `ssh.user` is the login for every server. A non-root user needs `sudo`, because
143
- epd escalates for docker, systemd and the files under `/var/lib/epd`. The
144
- smoothest setup is a passwordless rule:
103
+ Before deploying, you can run `epd doctor` to verify your entire local and remote setup:
145
104
 
146
105
  ```bash
147
- echo 'deploy ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/epd
148
- sudo chmod 440 /etc/sudoers.d/epd
149
- ```
150
-
151
- Without it, epd asks for the sudo password once per run and reuses it for every
152
- command on that host — nothing is written to disk. For CI, where nobody can
153
- type, set `EPD_SUDO_PASSWORD` (or `ssh.sudo_password: ${EPD_SUDO_PASSWORD}` in
154
- `epd.yml`) instead.
155
-
156
- To use a different login on a single server, write it into the host entry —
157
- that wins over `ssh.user`:
158
-
159
- ```yaml
160
- servers:
161
- web:
162
- hosts: ["deploy@203.0.113.10", "ubuntu@203.0.113.11"]
106
+ epd doctor
163
107
  ```
164
108
 
165
- ---
166
-
167
- ## Next Step
168
-
169
- Once prerequisites are in place, proceed to the **[Getting Started Guide](/guide/getting-started)** or explore the **[Architecture & Flow](/guide/architecture)**.
109
+ It validates:
110
+ - Local runtime, Git working tree, and Docker engine status
111
+ - SSH client and private key permissions (`0600`)
112
+ - `epd.yml` schema and required `.env` secret availability
113
+ - Remote server connectivity, passwordless sudo, Docker health, disk space, and deploy locks
package/docs/guide.md CHANGED
@@ -10,91 +10,91 @@ Explore the topics below for in-depth documentation and examples:
10
10
 
11
11
  <div class="guide-grid">
12
12
 
13
- <a href="/epd/guide/getting-started" class="guide-card">
13
+ <a href="/guide/getting-started" class="guide-card">
14
14
  <div class="guide-card-icon">🚀</div>
15
15
  <div class="guide-card-title">Getting Started (5 Min)</div>
16
16
  <div class="guide-card-desc">Step-by-step tutorial: initialize, configure, setup, and deploy your first application.</div>
17
17
  </a>
18
18
 
19
- <a href="/epd/guide/installation" class="guide-card">
19
+ <a href="/guide/installation" class="guide-card">
20
20
  <div class="guide-card-icon">📦</div>
21
21
  <div class="guide-card-title">Prerequisites & Installation</div>
22
- <div class="guide-card-desc">Local and remote server requirements, package manager commands, and SSH setup.</div>
22
+ <div class="guide-card-desc">Zero-dependency installer, package manager commands, and automated SSH onboarding.</div>
23
23
  </a>
24
24
 
25
- <a href="/epd/guide/architecture" class="guide-card">
25
+ <a href="/guide/architecture" class="guide-card">
26
26
  <div class="guide-card-icon">🏗️</div>
27
27
  <div class="guide-card-title">Architecture & Request Flow</div>
28
28
  <div class="guide-card-desc">How Traefik routes incoming traffic, filesystem layouts, and zero-daemon design.</div>
29
29
  </a>
30
30
 
31
- <a href="/epd/guide/blue-green" class="guide-card">
31
+ <a href="/guide/blue-green" class="guide-card">
32
32
  <div class="guide-card-icon">🔄</div>
33
33
  <div class="guide-card-title">Zero-Downtime Blue/Green</div>
34
34
  <div class="guide-card-desc">The deployment lifecycle: idle slot booting, health checks, atomic route switching, and draining.</div>
35
35
  </a>
36
36
 
37
- <a href="/epd/guide/deployment-modes" class="guide-card">
37
+ <a href="/guide/deployment-modes" class="guide-card">
38
38
  <div class="guide-card-icon">🐳</div>
39
39
  <div class="guide-card-title">Docker vs. Process Mode</div>
40
40
  <div class="guide-card-desc">Run containerized apps with Docker, or deploy plain Bun/Node/Python code via PM2.</div>
41
41
  </a>
42
42
 
43
- <a href="/epd/guide/multi-site" class="guide-card">
43
+ <a href="/guide/multi-site" class="guide-card">
44
44
  <div class="guide-card-icon">🌐</div>
45
45
  <div class="guide-card-title">Multi-Site on Single VPS</div>
46
46
  <div class="guide-card-desc">Host dozens of independent domains on a single host without port collisions.</div>
47
47
  </a>
48
48
 
49
- <a href="/epd/guide/high-availability" class="guide-card">
49
+ <a href="/guide/high-availability" class="guide-card">
50
50
  <div class="guide-card-icon">⚡</div>
51
51
  <div class="guide-card-title">High Availability & Clusters</div>
52
52
  <div class="guide-card-desc">Cross-host load balancing, private VPC network routing, and rolling rollouts.</div>
53
53
  </a>
54
54
 
55
- <a href="/epd/guide/routing" class="guide-card">
55
+ <a href="/guide/routing" class="guide-card">
56
56
  <div class="guide-card-icon">🔀</div>
57
57
  <div class="guide-card-title">Advanced Routing & Traefik</div>
58
58
  <div class="guide-card-desc">Path stripping, subdomains, basic auth, redirects, sticky sessions, and wildcard SSL.</div>
59
59
  </a>
60
60
 
61
- <a href="/epd/guide/secrets" class="guide-card">
61
+ <a href="/guide/secrets" class="guide-card">
62
62
  <div class="guide-card-icon">🔒</div>
63
63
  <div class="guide-card-title">Secrets & Environments</div>
64
64
  <div class="guide-card-desc">Safe secret resolution, destination overlays (staging vs production), and chmod 0600 storage.</div>
65
65
  </a>
66
66
 
67
- <a href="/epd/guide/accessories" class="guide-card">
67
+ <a href="/guide/accessories" class="guide-card">
68
68
  <div class="guide-card-icon">🗄️</div>
69
69
  <div class="guide-card-title">Accessories (Databases & Caches)</div>
70
70
  <div class="guide-card-desc">Persistent Postgres, Redis, and MinIO containers with volume management and web UIs.</div>
71
71
  </a>
72
72
 
73
- <a href="/epd/ci-cd" class="guide-card">
73
+ <a href="/ci-cd" class="guide-card">
74
74
  <div class="guide-card-icon">🤖</div>
75
75
  <div class="guide-card-title">GitHub Actions CI/CD</div>
76
76
  <div class="guide-card-desc">Automated continuous deployment on every git push with a 20-line workflow file.</div>
77
77
  </a>
78
78
 
79
- <a href="/epd/hetzner-dns" class="guide-card">
79
+ <a href="/hetzner-dns" class="guide-card">
80
80
  <div class="guide-card-icon">☁️</div>
81
81
  <div class="guide-card-title">Hetzner Cloud & DNS</div>
82
82
  <div class="guide-card-desc">Dynamic server targets, CLI provisioning, and Cloudflare/Hetzner DNS auto-sync.</div>
83
83
  </a>
84
84
 
85
- <a href="/epd/reference/cli" class="guide-card">
85
+ <a href="/reference/cli" class="guide-card">
86
86
  <div class="guide-card-icon">💻</div>
87
87
  <div class="guide-card-title">CLI Commands Reference</div>
88
- <div class="guide-card-desc">Full documentation of commands, options, and flags from epd init to epd remove.</div>
88
+ <div class="guide-card-desc">Full documentation of all 28 commands, options, and flags from epd doctor to epd top.</div>
89
89
  </a>
90
90
 
91
- <a href="/epd/reference/config" class="guide-card">
91
+ <a href="/reference/config" class="guide-card">
92
92
  <div class="guide-card-icon">⚙️</div>
93
93
  <div class="guide-card-title">Configuration Reference (epd.yml)</div>
94
94
  <div class="guide-card-desc">Complete annotated YAML schema specification with every possible configuration key.</div>
95
95
  </a>
96
96
 
97
- <a href="/epd/guide/troubleshooting" class="guide-card">
97
+ <a href="/guide/troubleshooting" class="guide-card">
98
98
  <div class="guide-card-icon">🛠️</div>
99
99
  <div class="guide-card-title">Troubleshooting & Operations</div>
100
100
  <div class="guide-card-desc">Resolving deployment locks, diagnosing probe timeouts, and disaster recovery.</div>
@@ -102,184 +102,49 @@ Explore the topics below for in-depth documentation and examples:
102
102
 
103
103
  </div>
104
104
 
105
- ---
106
-
107
- ## Guide Topics
108
-
109
- ### 1. Key Features & Architecture
110
- `epd` routes incoming traffic on ports 80/443 through a shared Traefik proxy and isolates each app's configuration.
111
-
112
- ```
113
- Internet (HTTP:80 / HTTPS:443)
114
- │
115
- ▼
116
- ┌─────────────────────────────────────────────────────────────┐
117
- │ SERVER (Host) │
118
- │ │
119
- │ ┌───────────────────────────────────────────────────────┐ │
120
- │ │ Shared Traefik Proxy (:80 / :443) │ │
121
- │ │ Automatically routes traffic based on dynamic YAML │ │
122
- │ └────────┬─────────────────────────────┬────────────────┘ │
123
- │ │ │ │
124
- │ ▼ ▼ │
125
- │ ┌─────────────────────┐ ┌────────────────────────┐ │
126
- │ │ App 1 (Blog) │ │ App 2 (Store) │ │
127
- │ │ Blue/Green replicas │ │ Blue/Green replicas │ │
128
- │ │ blog.example.com │ │ store.example.com │ │
129
- │ └─────────────────────┘ └────────────────────────┘ │
130
- └─────────────────────────────────────────────────────────────┘
131
- ```
132
-
133
- 👉 **[Read the complete Architecture Guide →](/guide/architecture)**
134
-
135
- ---
136
-
137
- ### 2. Prerequisites & Installation
138
- Install `epd` using Bun, NPM, or as a standalone Linux binary:
139
-
140
- ::: code-group
141
- ```bash [bun]
142
- bun install -g @fabioplunser/epd
143
- ```
144
- ```bash [npm]
145
- npm install -g @fabioplunser/epd
146
- ```
147
- ```bash [standalone binary]
148
- curl -fsSL https://github.com/FabioPlunser/epd/releases/latest/download/epd-linux-x64 -o /usr/local/bin/epd
149
- chmod +x /usr/local/bin/epd
150
- ```
151
- :::
152
-
153
- 👉 **[Read the full Installation Guide →](/guide/installation)**
154
-
155
- ---
156
-
157
- ### 3. Quick Start (5 Minutes)
158
- Get an app up and running in 4 simple commands:
159
-
160
- ```bash
161
- cd my-project
162
-
163
- # 1. Initialize epd.yml
164
- epd init
165
-
166
- # 2. Setup your servers (Docker/PM2, Traefik, networks) and run first deploy
167
- epd setup
168
-
169
- # 3. Deploy anytime with zero downtime
170
- epd deploy
171
- ```
172
-
173
- 👉 **[Follow the Step-by-Step Getting Started Walkthrough →](/guide/getting-started)**
174
-
175
- ---
176
-
177
- ### 4. Deployment Modes: Docker vs. Process
178
- Choose between containerized Docker builds and native PM2 process execution for ultra-low memory footprints:
179
-
180
- - **`mode: docker`**: Containerized replicas, isolated bridge network, optional registry.
181
- - **`mode: process`**: No Docker required on server. Uploads code via `rsync` and manages replicas with PM2.
182
-
183
- 👉 **[Read the Deployment Modes Guide →](/guide/deployment-modes)**
184
-
185
- ---
186
-
187
- ### 5. The Blue/Green Zero-Downtime Lifecycle
188
- Every deploy starts the new version in an alternate slot (`blue` vs `green`), verifies health probes, and performs an atomic route switch in Traefik before draining the old slot.
189
-
190
- ```bash
191
- # Instant rollback if needed
192
- epd rollback
193
- ```
194
-
195
- 👉 **[Read the Zero-Downtime Blue/Green Guide →](/guide/blue-green)**
196
-
197
- ---
198
-
199
- ### 6. Multi-Site Hosting on a Single VPS
200
- Deploy multiple completely different applications to the same server. Each app maintains its own dynamic route file under `/var/lib/epd/proxy/dynamic/<app>.yml` with independent Let's Encrypt SSL certificates.
201
-
202
- 👉 **[Read the Multi-Site Hosting Guide →](/guide/multi-site)**
203
-
204
- ---
205
-
206
- ### 7. High Availability & Multi-Server Clustering
207
- Deploy across multiple servers with rolling updates (`strategy: rolling`) and enable cross-host routing (`proxy.cross_host: true`) so requests are balanced across the whole fleet.
208
-
209
- 👉 **[Read the High Availability Guide →](/guide/high-availability)**
210
-
211
- ---
212
-
213
- ### 8. Advanced Routing & Traefik Features
214
- Configure paths, subdomains, prefix stripping, HTTP basic auth, redirects (301/302), custom headers, and sticky sessions:
215
-
216
- ```yaml
217
- servers:
218
- web:
219
- hosts: [203.0.113.10]
220
- port: 3000
221
- routes:
222
- - host: example.com
223
- - host: api.example.com
224
- port: 8080
225
- - host: example.com
226
- path: /admin
227
- strip_path: true
228
- basic_auth: ["admin:$apr1$xyz..."]
229
- ```
230
-
231
- 👉 **[Read the Advanced Routing Guide →](/guide/routing)**
232
-
233
- ---
234
-
235
- ### 9. Automated DNS & Hetzner Cloud
236
- Automatically synchronize A/AAAA records with **Cloudflare** or **Hetzner DNS**, and provision servers dynamically with `epd hetzner`:
237
-
238
- ```bash
239
- # Inspect & sync DNS
240
- epd dns status
241
- epd dns sync
242
-
243
- # Manage Hetzner Cloud servers
244
- epd hetzner list
245
- epd hetzner create prod-web-1 --setup
246
- ```
247
-
248
- 👉 **[Read the Hetzner Cloud & DNS Guide →](/hetzner-dns)**
249
-
250
- ---
251
-
252
- ### 10. Automated CI/CD with GitHub Actions
253
- Abstract your entire deployment into `epd.yml` and deploy automatically on every `git push`:
254
-
255
- ```yaml
256
- - name: Deploy with EPD
257
- run: npx @fabioplunser/epd deploy
258
- env:
259
- SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
260
- ```
261
-
262
- 👉 **[Read the GitHub Actions CI/CD Guide →](/ci-cd)**
263
-
264
- ---
265
-
266
- ### 11. Secrets & Environment Management
267
- Keep secrets safe with `0600` root permissions on the host server and support multi-environment overlays (`epd deploy -d staging`).
268
-
269
- 👉 **[Read the Secrets & Environment Guide →](/guide/secrets)**
270
-
271
- ---
272
-
273
- ### 12. Persistent Accessories
274
- Run stateful databases (Postgres, MySQL), caches (Redis), or storage (MinIO) alongside your apps with dedicated volumes and Traefik web routing.
275
-
276
- 👉 **[Read the Accessories Guide →](/guide/accessories)**
277
-
278
- ---
279
-
280
- ### 13. CLI Reference & Configuration Reference
281
- Look up every command and configuration option:
282
-
283
- 👉 **[View CLI Commands Reference →](/reference/cli)**
284
- 👉 **[View Configuration Schema Reference (`epd.yml`) →](/reference/config)**
285
- 👉 **[View Operations & Troubleshooting Guide →](/guide/troubleshooting)**
105
+ <style>
106
+ .guide-grid {
107
+ display: grid;
108
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
109
+ gap: 16px;
110
+ margin-top: 24px;
111
+ }
112
+
113
+ .guide-card {
114
+ display: flex;
115
+ flex-direction: column;
116
+ padding: 20px;
117
+ border-radius: 12px;
118
+ border: 1px solid var(--vp-c-divider);
119
+ background-color: var(--vp-c-bg-soft);
120
+ text-decoration: none !important;
121
+ transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
122
+ color: var(--vp-c-text-1) !important;
123
+ }
124
+
125
+ .guide-card:hover {
126
+ border-color: var(--vp-c-brand-1);
127
+ background-color: var(--vp-c-bg-elv);
128
+ transform: translateY(-2px);
129
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
130
+ }
131
+
132
+ .guide-card-icon {
133
+ font-size: 28px;
134
+ margin-bottom: 12px;
135
+ line-height: 1;
136
+ }
137
+
138
+ .guide-card-title {
139
+ font-size: 16px;
140
+ font-weight: 600;
141
+ color: var(--vp-c-text-1);
142
+ margin-bottom: 8px;
143
+ }
144
+
145
+ .guide-card-desc {
146
+ font-size: 13px;
147
+ line-height: 1.5;
148
+ color: var(--vp-c-text-2);
149
+ }
150
+ </style>
package/docs/index.md CHANGED
@@ -4,7 +4,7 @@ layout: home
4
4
  hero:
5
5
  name: "EPD"
6
6
  text: "Easy Project Deployer"
7
- tagline: "Zero-downtime deployments from terminal, GitHub Actions, or local CLI over standard SSH."
7
+ tagline: "Blue/green deployments over SSH. Installs Docker, Traefik & SSL on any clean VPS in 60s."
8
8
  actions:
9
9
  - theme: brand
10
10
  text: 🚀 Get Started
@@ -12,9 +12,6 @@ hero:
12
12
  - theme: alt
13
13
  text: 📖 Documentation Hub
14
14
  link: /guide
15
- - theme: alt
16
- text: 🤖 GitHub Actions CI/CD
17
- link: /ci-cd
18
15
  - theme: alt
19
16
  text: View on GitHub
20
17
  link: https://github.com/FabioPlunser/epd
@@ -24,33 +21,6 @@ hero:
24
21
 
25
22
  ---
26
23
 
27
- ## Quick Install
28
-
29
- ::: code-group
30
-
31
- ```bash [bun]
32
- bun install -g @fabioplunser/epd
33
- ```
34
-
35
- ```bash [npm]
36
- npm install -g @fabioplunser/epd
37
- ```
38
-
39
- ```bash [pnpm]
40
- pnpm add -g @fabioplunser/epd
41
- ```
42
-
43
- ```bash [npx (no install)]
44
- npx @fabioplunser/epd deploy
45
- ```
46
-
47
- ```bash [Standalone Binary (Linux)]
48
- curl -fsSL https://github.com/FabioPlunser/epd/releases/latest/download/epd-linux-x64 -o /usr/local/bin/epd
49
- chmod +x /usr/local/bin/epd
50
- ```
51
-
52
- :::
53
-
54
24
  ## 30-Second Quickstart
55
25
 
56
26
  ```bash
@@ -59,10 +29,13 @@ cd my-project
59
29
  # 1. Initialize epd.yml (and optional starter Dockerfile / GitHub Action)
60
30
  epd init --ci
61
31
 
62
- # 2. Setup your servers (Docker/PM2, Traefik, networks) and run first deploy
32
+ # 2. Run pre-flight health & environment checks
33
+ epd doctor
34
+
35
+ # 3. Setup your server (SSH keys, Docker, Traefik, SSL) and deploy in 1 command
63
36
  epd setup
64
37
 
65
- # 3. Deploy updates anytime with zero downtime
38
+ # 4. Deploy future updates with zero downtime
66
39
  epd deploy
67
40
  ```
68
41