Skip to content

Installation

Requirements

Install the package

Install from PyPI into the NetBox virtual environment:

source /opt/netbox/venv/bin/activate
pip install netbox-device-view

To ensure the plugin is reinstalled on future NetBox upgrades, add it to local_requirements.txt:

echo netbox-device-view >> /opt/netbox/local_requirements.txt

Enable the plugin

Add the plugin to PLUGINS in your NetBox configuration.py:

PLUGINS = ["netbox_device_view"]

Run migrations and collect static files

cd /opt/netbox/netbox
python manage.py migrate netbox_device_view
python manage.py collectstatic --no-input

Restart NetBox

sudo systemctl restart netbox netbox-rq