Revise migrate command to include venv

This commit is contained in:
Jeff Gehlbach 2024-04-02 15:57:08 -04:00
parent 700f31150e
commit a7961b0d9e

View File

@ -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