Use consistent style in INSTALL

This commit is contained in:
James Valleroy 2016-07-16 19:32:10 -04:00
parent 7aa92d3771
commit 9f96cd4cec
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

35
INSTALL
View File

@ -7,6 +7,7 @@
$ sudo apt-get install \ $ sudo apt-get install \
augeas-tools \ augeas-tools \
dblatex \ dblatex \
docbook-utils \
gettext \ gettext \
gir1.2-glib-2.0 \ gir1.2-glib-2.0 \
gir1.2-networkmanager-1.0 \ gir1.2-networkmanager-1.0 \
@ -30,8 +31,7 @@
python3-requests \ python3-requests \
python3-setuptools \ python3-setuptools \
python3-yaml \ python3-yaml \
xmlto \ xmlto
docbook-utils
2. Install Plinth: 2. Install Plinth:
@ -48,13 +48,24 @@
Plinth UI should be accessible at http://localhost:8000 Plinth UI should be accessible at http://localhost:8000
Note:- # Note on Django version:
Django 1.9 is required to run plinth
You can check the version by running django-admin --version in terminal Django 1.9 is required to run Plinth. You can check the version by running:
If apt-get provided django<=1.9 then follow the below steps
i) Uninstall Older django versions $ django-admin --version
sudo apt-get remove python3-django python3-django-stronghold python3-bootstrap
ii) Install Python3 pip If apt-get provided django<1.9, then follow the steps below:
sudo apt-get install python3-pip
iii) Install django1.9 through pip 1. Uninstall older django versions:
sudo pip3 install django django-bootstrap-form django-stronghold --upgrade
$ sudo apt-get remove python3-django python3-django-stronghold \
python3-bootstrap
2. Install Python3 pip:
$ sudo apt-get install python3-pip
3. Install django1.9 through pip:
$ sudo pip3 install django django-bootstrap-form django-stronghold \
--upgrade