Skip to content

Commit 5a71d4e

Browse files
committed
Simplify installer command docs
1 parent 120dd2d commit 5a71d4e

5 files changed

Lines changed: 8 additions & 24 deletions

File tree

INSTALL.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ ShipNode offers two installation workflows:
1414
Download and run the self-extracting installer:
1515

1616
```bash
17-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
18-
chmod +x shipnode-installer.sh
19-
./shipnode-installer.sh
17+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
2018
```
2119

2220
Or download manually:
@@ -218,9 +216,7 @@ cd /path/to/shipnode
218216
To update to the latest version, simply download and run the installer again:
219217

220218
```bash
221-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
222-
chmod +x shipnode-installer.sh
223-
./shipnode-installer.sh
219+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
224220
```
225221

226222
### For Developers (Cloned from Source)

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ shipnode deploy ───rsync──▶ /var/www/myapp/
3434
### 1. Install
3535

3636
```bash
37-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
38-
chmod +x shipnode-installer.sh
39-
./shipnode-installer.sh
37+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
4038
```
4139

4240
Or clone and run directly:

build-dist.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,5 @@ echo "Usage:"
246246
echo -e " ${BLUE}bash $DIST_DIR/$INSTALLER_NAME${NC}"
247247
echo
248248
echo "Or upload to GitHub releases for users to download:"
249-
echo -e " ${BLUE}curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh${NC}"
250-
echo -e " ${BLUE}chmod +x shipnode-installer.sh${NC}"
251-
echo -e " ${BLUE}./shipnode-installer.sh${NC}"
249+
echo -e " ${BLUE}curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh${NC}"
252250
echo

docs/advanced/distribution.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ This document explains the distribution system for ShipNode, allowing users to i
77
The distribution system packages ShipNode into a single self-extracting installer that users can download and run. This makes installation as simple as:
88

99
```bash
10-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
11-
chmod +x shipnode-installer.sh
12-
./shipnode-installer.sh
10+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
1311
```
1412

1513
## How It Works
@@ -96,9 +94,7 @@ Creates `dist/shipnode-installer.sh` (~21KB)
9694

9795
Users install with:
9896
```bash
99-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
100-
chmod +x shipnode-installer.sh
101-
./shipnode-installer.sh
97+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
10298
```
10399

104100
### 2. Direct Download

docs/getting-started/installation.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ Install ShipNode on your local machine to deploy apps to your server.
1313
Download and run the self-extracting installer:
1414

1515
```bash
16-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
17-
chmod +x shipnode-installer.sh
18-
./shipnode-installer.sh
16+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
1917
```
2018

2119
Or download manually:
@@ -66,9 +64,7 @@ To update to the latest version:
6664

6765
```bash
6866
# Installed via installer
69-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh
70-
chmod +x shipnode-installer.sh
71-
./shipnode-installer.sh
67+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
7268

7369
# From source
7470
cd shipnode

0 commit comments

Comments
 (0)