mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Wrapped pip updates inside sudo
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
# gunicorn or uWSGI).
|
# gunicorn or uWSGI).
|
||||||
|
|
||||||
# Install any new Python packages
|
# Install any new Python packages
|
||||||
pip install -r requirements.txt --upgrade
|
echo "Updating required Python packages (pip install -r requirements.txt --upgrade)..."
|
||||||
|
sudo pip install -r requirements.txt --upgrade
|
||||||
|
|
||||||
# Apply any database migrations
|
# Apply any database migrations
|
||||||
./netbox/manage.py migrate
|
./netbox/manage.py migrate
|
||||||
|
Reference in New Issue
Block a user