mirror of
https://github.com/bb-Ricardo/netbox-sync.git
synced 2026-01-20 16:00:49 -06:00
Python virtual environment simplify for Ubuntu
Use python3 native venv module, use .venv (as opposed to .env) to avoid collision with .env (environment variable) files
This commit is contained in:
@@ -41,12 +41,11 @@ This ensures stale objects are removed from NetBox keeping an accurate current s
|
||||
|
||||
## Ubuntu 18.04
|
||||
```
|
||||
sudo apt-get install virtualenv
|
||||
cd /opt
|
||||
git clone https://github.com/bb-Ricardo/netbox-sync.git
|
||||
cd netbox-sync
|
||||
virtualenv -p python3 .env
|
||||
. .env/bin/activate
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip3 install -r requirements.txt
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user