mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Added "Migrating to Python3" to the docs index
This commit is contained in:
@ -1,27 +1,33 @@
|
|||||||
# Migration
|
# Migration
|
||||||
|
|
||||||
Remove Python 2 packages
|
Remove Python 2 packages
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# apt-get remove --purge -y python-dev python-pip
|
# apt-get remove --purge -y python-dev python-pip
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Python 3 packages
|
Install Python 3 packages
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# apt-get install -y python3 python3-dev python3-pip
|
# apt-get install -y python3 python3-dev python3-pip
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Python Packages
|
Install Python Packages
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# cd /opt/netbox
|
# cd /opt/netbox
|
||||||
# pip3 install -r requirements.txt
|
# pip3 install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Gunicorn Update
|
Gunicorn Update
|
||||||
```
|
|
||||||
|
```no-highlight
|
||||||
# pip uninstall gunicorn
|
# pip uninstall gunicorn
|
||||||
# pip3 install gunicorn
|
# pip3 install gunicorn
|
||||||
```
|
```
|
||||||
|
|
||||||
Re-install LDAP Module (Optional if using LDAP for auth)
|
Re-install LDAP Module (optional if using LDAP for auth)
|
||||||
```
|
|
||||||
|
```no-highlight
|
||||||
sudo pip3 install django-auth-ldap
|
sudo pip3 install django-auth-ldap
|
||||||
```
|
```
|
@ -8,6 +8,7 @@ pages:
|
|||||||
- 'Web Server': 'installation/web-server.md'
|
- 'Web Server': 'installation/web-server.md'
|
||||||
- 'LDAP (Optional)': 'installation/ldap.md'
|
- 'LDAP (Optional)': 'installation/ldap.md'
|
||||||
- 'Upgrading': 'installation/upgrading.md'
|
- 'Upgrading': 'installation/upgrading.md'
|
||||||
|
- 'Migrating to Python3': 'installation/migrating-to-python3.md'
|
||||||
- 'Configuration':
|
- 'Configuration':
|
||||||
- 'Mandatory Settings': 'configuration/mandatory-settings.md'
|
- 'Mandatory Settings': 'configuration/mandatory-settings.md'
|
||||||
- 'Optional Settings': 'configuration/optional-settings.md'
|
- 'Optional Settings': 'configuration/optional-settings.md'
|
||||||
|
Reference in New Issue
Block a user