Update Indie Web Server installation script to v9.2.1

Update the Indie Web Server page.
parent 84d6ffee
......@@ -75,6 +75,14 @@ web-server proxy localhost:1313
Now you can view it at https://localhost and even your live reload will work as Indie Web Server in proxy mode also proxies WebSockets.
### As a local development server with live sync of changes to your production server
{{<highlight shell>}}
web-server sync my-demo.site
{{</highlight>}}
Any changes in your _current folder_ will be synced via rsync over ssh to _your-account_@my-demo.site:/home/_your-account_/_current-folder-name. You can customise all of those details via optional flags.
### As a staging server
To give others access to your server without running as a deployment server (daemon):
......@@ -85,7 +93,7 @@ web-server global
Then use, for example, [ngrok](https://ngrok.com/) (Pro+) to point a custom domain name to your temporary staging server. Make sure you set your `hostname` file (e.g., in `/etc/hostname` or via `hostnamectl set-hostname <hostname>` or the equivalent for your platform) to match your domain name. The first time you hit your server via your hostname it will take a little longer to load as your Let’s Encrypt certificates are being automatically provisioned by ACME TLS.
### As a deployment server
### As a production server
{{<highlight shell>}}
web-server enable
......
......@@ -2,7 +2,7 @@
######################################################################
#
# Indie Web Server v9.1.0 Installer
# Indie Web Server v9.2.1 Installer
#
# To use:
#
......@@ -15,14 +15,14 @@
set -e
echo
echo " 📡 Downloading Indie Web Server v9.1.0…"
echo " 📡 Downloading Indie Web Server v9.2.1…"
if [[ "$OSTYPE" == "linux-gnu" ]]; then
# Linux
wget -q https://ind.ie/web-server/linux/9.1.0.tar.gz
wget -q https://ind.ie/web-server/linux/9.2.1.tar.gz
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
wget -q https://ind.ie/web-server/macos/9.1.0.tar.gz
wget -q https://ind.ie/web-server/macos/9.2.1.tar.gz
else
# Unsupported
echo "\n ❌ Error: this operating system is not supported.\n"
......@@ -30,10 +30,10 @@ else
fi
echo " 📦 Installing…"
gzip -d 9.1.0.tar.gz
tar -xvf 9.1.0.tar > /dev/null
gzip -d 9.2.1.tar.gz
tar -xvf 9.2.1.tar > /dev/null
sudo mv web-server /usr/local/bin/
rm 9.1.0.tar
rm 9.2.1.tar
echo " 🎉 Done!"
echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment