http-host-once -> http-host-static

This commit is contained in:
Zsolt Ero
2024-08-29 16:35:14 +02:00
parent 66d0bdc515
commit c30a55a5cd
3 changed files with 3 additions and 3 deletions

View File

@@ -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
```

View File

@@ -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.

View File

@@ -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