@@ -91,8 +91,25 @@ To create an inactive project, delete the license key associated with a database
9191Targets sometimes get stuck at the "Processing" stage meaning that they cannot be deleted.
9292When this happens, create a new target database to use for testing.
9393
94- To create databases without using the browser, use :file: `admin/create_secrets_files.py `.
95- See instructions in that file.
94+ To create databases without using the browser, use :file: `admin/create_secrets_files.py `:
95+
96+ .. code-block :: bash
97+
98+ $ export VWS_EMAIL_ADDRESS=...
99+ $ export VWS_PASSWORD=...
100+ $ export NEW_SECRETS_DIR=...
101+ $ export EXISTING_SECRETS_FILE=/existing/file/with/inactive/db/creds
102+ # You may have to run this a few times, but it is idempotent.
103+ $ python admin/create_secrets_files.py
104+ # After creating the secrets, update the encrypted archive:
105+ $ tar cvf secrets.tar " ${NEW_SECRETS_DIR} "
106+ $ gpg \
107+ --yes \
108+ --batch \
109+ --passphrase=" ${PASSPHRASE_FOR_VUFORIA_SECRETS} " \
110+ --symmetric \
111+ --cipher-algo AES256 \
112+ secrets.tar
96113
97114 .. _Vuforia License Manager : https://developer.vuforia.com/vui/develop/licenses
98115.. _Vuforia Target Manager : https://developer.vuforia.com/vui/develop/databases
@@ -120,8 +137,8 @@ Run the following commands to build and view documentation locally:
120137
121138.. code-block :: console
122139
123- $ make docs
124- $ make open- docs
140+ $ uv run --extra=dev sphinx-build -M html docs/source docs/build -W
141+ $ python -c 'import os, webbrowser; webbrowser.open("file://" + os.path.abspath(" docs/build/html/index.html"))'
125142
126143 Continuous Integration
127144----------------------
0 commit comments