From 9ab2bf21bd39de029fe0da00568abbfdf104fd89 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 18 Oct 2023 12:00:45 -0700 Subject: [PATCH] Updated Upgrading or Merging Archives (markdown) --- Upgrading-or-Merging-Archives.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Upgrading-or-Merging-Archives.md b/Upgrading-or-Merging-Archives.md index c582ea4..68ae8e9 100644 --- a/Upgrading-or-Merging-Archives.md +++ b/Upgrading-or-Merging-Archives.md @@ -184,6 +184,8 @@ WHERE username = 'someUsernameHere'; #### Example: Adding a new user with a hashed password +*Note: this is just an example to demonstrate direct database usage. If you are trying to create a user on initial setup, use the [`ADMIN_USERNAME` & `ADMIN_PASSWORD`](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#admin_username--admin_password) configuration options.* + 1. First, generate the hashed password in a Python shell using Django's `make_password` function. This can be done on any machine with Python 3+, it doesn't have to have ArchiveBox installed.