From 5f9c36eb29a9b64251eaa595e1f92fba134d9a9e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 13 Aug 2026 12:36:56 -0700 Subject: [PATCH] Remove unused setup prerequisite and fix admin URLs --- README.md | 10 +++++----- archivebox/tests/test_setup_script.py | 2 +- bin/setup.sh | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3a77066f..5d5667ed 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ docker compose pull docker compose run --rm archivebox install docker compose run --rm archivebox manage createsuperuser -
  • Next steps: Start the server then login to the Web UI http://archivebox.localhost:8000 ⇢ Admin. +
  • Next steps: Start the server then log in to the Admin UI at http://admin.archivebox.localhost:8000.
    docker compose up -d
     # completely optional, CLI can always be used without running a server
     # docker compose run --rm [-T] archivebox [subcommand] [--help]
    @@ -219,7 +219,7 @@ docker run -v $PWD:/data -it archivebox/archivebox:dev init
     docker run -v $PWD:/data -it archivebox/archivebox:dev install
     
  • -
  • Optional: Start the server then login to the Web UI http://archivebox.localhost:8000 ⇢ Admin. +
  • Optional: Start the server then log in to the Admin UI at http://admin.archivebox.localhost:8000.
    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]
    @@ -275,7 +275,7 @@ archivebox init     # initialize a new collection
     archivebox install  # install all the runtime dependencies (e.g. chrome, single-file, yt-dlp, etc.)
     
  • -
  • Create an admin account, then optionally start the server and log in to the Web UI at http://archivebox.localhost:8000 ⇢ Admin. +
  • Create an admin account, then optionally start the server and log in to the Admin UI at http://admin.archivebox.localhost:8000.
    archivebox manage createsuperuser
     archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
    @@ -312,7 +312,7 @@ archivebox add 'https://example.com'
     

  • -
  • Create an admin account, then optionally start the server and log in to the Web UI at http://archivebox.localhost:8000 ⇢ Admin. +
  • Create an admin account, then optionally start the server and log in to the Admin UI at http://admin.archivebox.localhost:8000.
    archivebox manage createsuperuser
     archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
    @@ -346,7 +346,7 @@ archivebox init
     archivebox install
     
  • -
  • Create an admin account, then optionally start the server and log in to the Web UI at http://archivebox.localhost:8000 ⇢ Admin. +
  • Create an admin account, then optionally start the server and log in to the Admin UI at http://admin.archivebox.localhost:8000.
    archivebox manage createsuperuser
     archivebox server 0.0.0.0:8000
     # completely optional, CLI can always be used without running a server
    diff --git a/archivebox/tests/test_setup_script.py b/archivebox/tests/test_setup_script.py
    index d0ca1e2c..de1ec2ed 100644
    --- a/archivebox/tests/test_setup_script.py
    +++ b/archivebox/tests/test_setup_script.py
    @@ -41,7 +41,7 @@ def test_setup_script_bootstraps_locked_abxpkg_version():
         assert 'ARCHIVEBOX_PACKAGE="${ARCHIVEBOX_PACKAGE:-archivebox}"' in script
         assert '--prerelease allow --upgrade "$ARCHIVEBOX_PACKAGE"' in install_function
         assert "fix_root_install_ownership" in prepare_function
    -    assert "resolve_setup_binary git env,brew,apt true" in install_function
    +    assert "resolve_setup_binary git env,brew,apt true" not in install_function
     
     
     def test_setup_script_preserves_collection_and_compose_ownership_boundaries():
    diff --git a/bin/setup.sh b/bin/setup.sh
    index f7a50c31..a94d2c6b 100755
    --- a/bin/setup.sh
    +++ b/bin/setup.sh
    @@ -299,7 +299,6 @@ resolve_setup_curl() {
     }
     
     install_archivebox_with_uv() {
    -    resolve_setup_binary git env,brew,apt true
         echo
         echo "[+] Installing ArchiveBox python tool using uv from $ARCHIVEBOX_PACKAGE..."
         "$UV_BINARY" --no-config tool install --python "$ARCHIVEBOX_PYTHON" --prerelease allow --upgrade "$ARCHIVEBOX_PACKAGE"