Hide unconnected (#61)

* #57 hide unconnected devices
This commit is contained in:
mattieserver
2021-05-01 18:34:50 +02:00
committed by GitHub
parent 195ac47542
commit 5f498f9ce2
9 changed files with 138 additions and 115 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
# Setup Dev
+ install docker
+ install docker compose
+ install npm
+ clone netbox repo
+ clone netbox_topology_views repo
+ create venv: `/usr/bin/python3 -m venv venv`
@@ -8,9 +9,10 @@
+ install deps: `pip3 install -r requirements.txt`
+ install build tools: `python3 -m pip install --upgrade build setuptools wheel`
# Build
+ in the root of the netbox_topology_views folder run `python3 -m build`
+ install the package: `python3 -m pip install ../netbox-topology-views/dist/netbox_topology_views-X.Y.Z-py3-none-any.whl` where X,Y & Z are the version
+ build the package: `python3 setup.py develop`
+ build the resources `npm run resources`
# Test
+ copy configuration.py from dev_setup to the netbox/netbox/ folder