You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+28-21
Original file line number
Diff line number
Diff line change
@@ -61,27 +61,6 @@ postgres=# \q
61
61
```
62
62
63
63
64
-
### Set Up Python Environment
65
-
66
-
Install Python:
67
-
```
68
-
# apt-get install -y python3.6 python3-pip
69
-
```
70
-
71
-
Install psycopg2:
72
-
```
73
-
# sudo apt-get install python3-psycopg2
74
-
```
75
-
76
-
77
-
### Gunicorn Setup
78
-
79
-
Install Gunicorn:
80
-
```
81
-
# pip3 install gunicorn
82
-
```
83
-
84
-
85
64
### Ntmap Setup
86
65
87
66
Download the latest release from GitHub as a ZIP archive and extract it to your desired path. In this example, we'll use /opt/ntmap.
@@ -108,6 +87,34 @@ Edit Ntmap frontend settings. You need to set NETBOX_URL in settings.js to point
108
87
# nano settings.js # change Netbox URL here
109
88
```
110
89
90
+
91
+
### Python & Gunicorn Setup
92
+
93
+
Install Python:
94
+
```
95
+
# apt-get install -y python3.6 python3-pip
96
+
```
97
+
98
+
We'll use a Python virtual environment to ensure Ntmap's required packages don't conflict with anything in the base system. This will create a directory named venv in our Ntmap root.
0 commit comments