mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-19 17:40:22 +02:00
Updated examples for Django management comands
parent
8bad87b810
commit
1382667456
@ -91,7 +91,7 @@ docker-compose exec -T netbox tar x -jvf - -C /opt/netbox/netbox/media < media-b
|
||||
See the status of the worker queue:
|
||||
|
||||
```bash
|
||||
docker-compose run --rm netbox-worker rqstats
|
||||
docker-compose run --rm netbox-worker /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py rqstats
|
||||
```
|
||||
|
||||
### Netbox Shell (nbshell)
|
||||
@ -99,7 +99,7 @@ docker-compose run --rm netbox-worker rqstats
|
||||
The _nbshell_ is a way to quickly get programmatic access to Netbox. It offers about the same interface as the Netbox REST API.
|
||||
|
||||
```bash
|
||||
docker-compose run --rm netbox ./manage.py nbshell
|
||||
docker-compose run --rm netbox /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py nbshell
|
||||
```
|
||||
|
||||
## Frequently Asked Questions (FAQ) and Common Problems
|
||||
|
Loading…
x
Reference in New Issue
Block a user