From c30a55a5cd400b59918a3405c14049f6b08a11e7 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 29 Aug 2024 16:35:14 +0200 Subject: [PATCH] http-host-once -> http-host-static --- docs/dev_setup.md | 2 +- docs/self_hosting.md | 2 +- init-server.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dev_setup.md b/docs/dev_setup.md index 09220a2..2878455 100644 --- a/docs/dev_setup.md +++ b/docs/dev_setup.md @@ -25,6 +25,6 @@ Host orb_my Then I run commands like the following: ``` -./init-server.py http-host-once orb_my +./init-server.py http-host-static orb_my ./init-server.py debug orb_my ``` diff --git a/docs/self_hosting.md b/docs/self_hosting.md index 25c9c9a..70c70f4 100644 --- a/docs/self_hosting.md +++ b/docs/self_hosting.md @@ -54,7 +54,7 @@ It's recommended to use [direnv](https://direnv.net/), to have automatic venv ac You run the deploy script locally. It'll connect to an SSH server, like this -`./init-server.py http-host-once HOSTNAME` +`./init-server.py http-host-static HOSTNAME` After this, go for a walk and by the time you come back it should be up and running with the latest planet tiles deployed. Don't worry about the "Download aborted" lines in the meanwhile, it's a bug in CloudFlare. diff --git a/init-server.py b/init-server.py index d44e237..2e0c67a 100755 --- a/init-server.py +++ b/init-server.py @@ -58,7 +58,7 @@ def cli(): @cli.command() @common_options -def http_host_once(hostname, user, port): +def http_host_static(hostname, user, port): if not click.confirm(f'Run script on {hostname}?'): return