{% extends 'base/layout.html' %} {% block title %}Install {{ plugin.name }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% if plugin.installed_version %}Upgrade{% else %}Install{% endif %} {{ plugin.name }}

{% if error %}
Installation Failed
{{ error }}
{% if output %}
Output:
{{ output }}
{% endif %} {% endif %} {% if install_method == "requirements" %}
Docker Installation

This will add the package to requirements-extra.txt.

After clicking Install, you'll need to:

  1. Add the plugin to PLUGINS in configuration/plugins.py
  2. Restart the NetBox container: docker-compose down && docker-compose up -d
{% elif can_install %}
Before Installing

After pip installation completes, you will need to:

  1. Add the plugin to PLUGINS in configuration.py
  2. Run database migrations
  3. Collect static files
  4. Restart NetBox
{% else %}
Manual Installation Required

Automatic installation is not available. To install manually:

  1. Add {{ plugin.name }}{% if plugin.version %}>={{ plugin.version }}{% endif %} to requirements-extra.txt
  2. Add the plugin to PLUGINS in configuration/plugins.py
  3. Restart the NetBox container
{% endif %}
{% csrf_token %}
{% if plugin.installed_version %}
Currently installed: v{{ plugin.installed_version }}
{% endif %}
{{ form.version }}
Leave empty to install the latest version ({{ plugin.version }}).
{{ config_snippet }}
You will need to add this to your configuration.py
{{ form.confirm }} {% if form.confirm.errors %}
{{ form.confirm.errors.0 }}
{% endif %}
Cancel {% if can_install %} {% else %} {% endif %}
{% endblock %}