mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Add static file collection to plugins installation doc
This commit is contained in:
parent
5266bf93a3
commit
ed05198c45
@ -64,6 +64,15 @@ PLUGINS_CONFIG = {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Collect Static Files
|
||||||
|
|
||||||
|
Plugins may package static files to be served directly by the HTTP front end. Ensure that these are copied to the static root directory with the `collectstatic` management command:
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
|
(venv) $ cd /opt/netbox/netbox/
|
||||||
|
(venv) $ python3 manage.py collectstatic
|
||||||
|
```
|
||||||
|
|
||||||
### Restart WSGI Service
|
### Restart WSGI Service
|
||||||
|
|
||||||
Restart the WSGI service to load the new plugin:
|
Restart the WSGI service to load the new plugin:
|
||||||
|
Loading…
Reference in New Issue
Block a user