From a7961b0d9e5faf1d16e9163411ff88395928ea1b Mon Sep 17 00:00:00 2001 From: Jeff Gehlbach Date: Tue, 2 Apr 2024 15:57:08 -0400 Subject: [PATCH] Revise migrate command to include venv --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 007bc53..5f2a8ac 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,10 @@ PLUGINS_CONFIG = { } ``` -To add the required `netbox-acls` tables to your NetBox database, run the `migrate` manager subcommand in your NetBox directory: +To add the required `netbox-acls` tables to your NetBox database, run the `migrate` manager subcommand in the NetBox virtual environment: ``` -./manage.py migrate +cd /opt/netbox +sudo ./venv/bin/python3 netbox/manage.py migrate ``` ## Developing