Skip to content

Commit 01399e7

Browse files
committed
add pip install
1 parent 7e96b75 commit 01399e7

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ Detailed information about task and execution log.
7575

7676
Instruction below describes installation for Docker-compose instance of NetBox.
7777

78-
### 1. Create new docker image based on latest-ldap netbox image
78+
For bare-metal setup pip can be used for installation. But some changes (ftp/redis etc) will be requared anyway.
79+
```shell
80+
pip install netbox-plugin-software-manager
81+
```
82+
83+
## 1. Create new docker image based on latest-ldap netbox image
7984

8085
```shell
8186
cd {{ your-netbox-locaton }}
@@ -112,7 +117,7 @@ docker build -t netbox-plugin .
112117
> #--Pip
113118
> RUN /opt/netbox/venv/bin/python -m pip install /source/SoftwareManager/
114119
115-
### 2. Create FTP docker image based on [docker-alpine-ftp-server](https://github.com/delfer/docker-alpine-ftp-server)
120+
## 2. Create FTP docker image based on [docker-alpine-ftp-server](https://github.com/delfer/docker-alpine-ftp-server)
116121
117122
>Why FTP? Originally scp was used to transfer files, but based on experience, FTP is much faster.
118123
@@ -121,7 +126,7 @@ cd ftp
121126
docker build -t ftp_for_netbox .
122127
cd ../../
123128
```
124-
### 3. Change docker-compose.yml
129+
## 3. Change docker-compose.yml
125130

126131
```dockerfile
127132
...
@@ -172,7 +177,7 @@ cd ../../
172177
- ADDRESS=192.168.0.1
173178
```
174179

175-
### 4. Change NetBox configuration.py
180+
## 4. Change NetBox configuration.py
176181

177182
```python
178183
PLUGINS = [
@@ -206,19 +211,19 @@ PLUGINS_CONFIG = {
206211
}
207212
```
208213

209-
### 6. Rester docker-compose
214+
## 6. Restart docker-compose
210215

211-
### 7. Add Custom Field
216+
## 7. Add Custom Field
212217

213218
| Name | Type | Label | Object(s) |
214219
|---------------|--------|---------------|-----------------|
215220
| sw_version | Text | SW Version | dcim > device |
216221

217-
### 8. Try to use
222+
## 8. Try to use
218223

219224
- - -
220225

221-
### nginx-unit.json
226+
## nginx-unit.json
222227

223228
Original NetBox config is used with max_body_size:
224229
```json
@@ -229,7 +234,7 @@ Original NetBox config is used with max_body_size:
229234
}
230235
```
231236

232-
### rq.sh script
237+
## rq.sh script
233238
```shell
234239
#!/bin/bash
235240

0 commit comments

Comments
 (0)