diff --git a/README.md b/README.md index 73fef246..e6b0c6f8 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ docker compose pull
  • Start the server, which initializes a new collection automatically.
    docker compose up -d --wait
     
  • -
  • Open http://admin.archivebox.localhost:8000/admin/ to create the first admin. If BASE_URL is not configured yet, continue through the web setup wizard. +
  • Open /admin/ on the hostname or IP used to reach ArchiveBox (local example: http://admin.archivebox.localhost:8000/admin/) to create the first admin. If BASE_URL is not configured yet, continue through the web setup wizard.
    
     # run CLI commands inside the server container started above
     docker compose exec archivebox archivebox add 'https://example.com'
    @@ -214,7 +214,7 @@ docker run --rm -v $PWD:/data -it archivebox/archivebox:dev init
     docker run --rm -v $PWD:/data -it archivebox/archivebox:dev install
     
  • -
  • Optional: Start the server, then open http://admin.archivebox.localhost:8000/admin/ to create the first admin. If BASE_URL is not configured yet, continue through the web setup wizard. +
  • Optional: Start the server, then open /admin/ on the hostname or IP used to reach ArchiveBox (local example: http://admin.archivebox.localhost:8000/admin/) to create the first admin. If BASE_URL is not configured yet, continue through the web setup wizard.
    docker run -v $PWD:/data -p 8000:8000 archivebox/archivebox:dev
     # completely optional, CLI can always be used without running a server
     # docker run -v $PWD:/data -it archivebox/archivebox:dev [subcommand] [--help]
    @@ -270,7 +270,7 @@ archivebox init     # initialize a new collection
     archivebox install  # install all the runtime dependencies (e.g. chrome, single-file, yt-dlp, etc.)
     
  • -
  • Optionally start the server, then open http://admin.archivebox.localhost:8000/admin/ to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs. +
  • Optionally start the server, then open /admin/ on the hostname or IP used to reach ArchiveBox (local example: http://admin.archivebox.localhost:8000/admin/) to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs.
    archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
     # archivebox [subcommand] [--help]
    @@ -306,7 +306,7 @@ archivebox add 'https://example.com'
     

  • -
  • Optionally start the server, then open http://admin.archivebox.localhost:8000/admin/ to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs. +
  • Optionally start the server, then open /admin/ on the hostname or IP used to reach ArchiveBox (local example: http://admin.archivebox.localhost:8000/admin/) to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs.
    archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
     # archivebox [subcommand] [--help]
    @@ -339,7 +339,7 @@ archivebox init
     archivebox install
     
  • -
  • Optionally start the server, then open http://admin.archivebox.localhost:8000/admin/ to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs. +
  • Optionally start the server, then open /admin/ on the hostname or IP used to reach ArchiveBox (local example: http://admin.archivebox.localhost:8000/admin/) to create the first admin. If BASE_URL is not configured yet, continue through the same web setup wizard used by Docker installs.
    archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
     # archivebox [subcommand] [--help]
    diff --git a/archivebox/tests/test_server_security_browser.py b/archivebox/tests/test_server_security_browser.py
    index 22bc38ba..20a78a98 100644
    --- a/archivebox/tests/test_server_security_browser.py
    +++ b/archivebox/tests/test_server_security_browser.py
    @@ -743,7 +743,7 @@ def test_unconfigured_public_host_superuser_can_reach_setup_wizard(tmp_path: Pat
         compose_text = (Path(__file__).resolve().parents[2] / "docker-compose.yml").read_text()
         compose = yaml.safe_load(compose_text)
         archivebox_environment = compose["services"]["archivebox"]["environment"]
    -    assert "Open http://admin.archivebox.localhost:8000/admin/ to create the first admin and finish web setup." in compose_text
    +    assert "Open /admin/ on the hostname or IP used to reach ArchiveBox" in compose_text
         assert "manage createsuperuser" not in compose_text
         assert compose["services"]["archivebox"]["restart"] == "unless-stopped"
         assert "BASE_URL" in archivebox_environment
    diff --git a/docker-compose.yml b/docker-compose.yml
    index 1afee673..42846d49 100644
    --- a/docker-compose.yml
    +++ b/docker-compose.yml
    @@ -3,7 +3,7 @@
     #     curl -fsSL 'https://docker-compose.archivebox.io' > docker-compose.yml
     #     docker compose pull
     #     docker compose up -d --wait
    -#     Open http://admin.archivebox.localhost:8000/admin/ to create the first admin and finish web setup.
    +#     Open /admin/ on the hostname or IP used to reach ArchiveBox (local: http://admin.archivebox.localhost:8000/admin/).
     
     #     docker compose exec archivebox archivebox add --depth=1 'https://news.ycombinator.com'
     #     docker compose exec -T archivebox archivebox add < ~/Downloads/bookmarks.txt
    diff --git a/docs/Docker.md b/docs/Docker.md
    index 6a080563..51911457 100644
    --- a/docs/Docker.md
    +++ b/docs/Docker.md
    @@ -202,7 +202,7 @@ docker run --rm -it -v "$PWD:/data" archivebox/archivebox:dev init
     docker run -d --name archivebox -v "$PWD:/data" -p 8000:8000 archivebox/archivebox:dev
     ```
     
    -Then open  to create the first admin. If `BASE_URL` is not configured yet, continue through the web setup wizard.
    +Then open `/admin/` on the hostname or IP used to reach ArchiveBox (local example: ) to create the first admin. If `BASE_URL` is not configured yet, continue through the web setup wizard.
     
     *(You can create a collection in any directory you want, `~/archivebox/data` is just used as an example here)*
     
    diff --git a/docs/Quickstart.md b/docs/Quickstart.md
    index 93687f54..c35d3f06 100644
    --- a/docs/Quickstart.md
    +++ b/docs/Quickstart.md
    @@ -71,7 +71,8 @@ docker compose up -d
     # or without Docker:
     archivebox server
     
    -# Visit http://admin.archivebox.localhost:8000/admin/ to create the first admin.
    +# Open /admin/ on the hostname or IP used to reach ArchiveBox.
    +# Local example: http://admin.archivebox.localhost:8000/admin/
     # If BASE_URL is not configured yet, continue through the web setup wizard.
     ```
     
    diff --git a/docs/codeblocks.toml b/docs/codeblocks.toml
    index 55c48391..ae89836c 100644
    --- a/docs/codeblocks.toml
    +++ b/docs/codeblocks.toml
    @@ -163,7 +163,7 @@ version = 2
     
     # docs/Quickstart.md
     "d81b70ce03456db1-1" = "illustration"
    -"f3fd34dae6f6f6ab-1" = "illustration"
    +"16a101113c74c070-1" = "illustration"
     "c84835e713d1c625-1" = "run"
     
     # docs/Scheduled-Archiving.md