mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
# Installing Plinth
|
|
|
|
1. Install the dependencies:
|
|
|
|
On a Debian based system, run:
|
|
|
|
$ sudo apt-get install \
|
|
augeas-tools \
|
|
dblatex \
|
|
gettext \
|
|
gir1.2-glib-2.0 \
|
|
gir1.2-networkmanager-1.0 \
|
|
ldapscripts \
|
|
libjs-bootstrap \
|
|
libjs-jquery \
|
|
libjs-modernizr \
|
|
make \
|
|
network-manager \
|
|
ppp \
|
|
pppoe \
|
|
python3 \
|
|
python3-augeas \
|
|
python3-bootstrapform \
|
|
python3-cherrypy3 \
|
|
python3-coverage \
|
|
python3-django \
|
|
python3-django-stronghold \
|
|
python3-gi \
|
|
python3-psutil \
|
|
python3-requests \
|
|
python3-setuptools \
|
|
python3-yaml \
|
|
xmlto \
|
|
docbook-utils
|
|
|
|
2. Install Plinth:
|
|
|
|
Unzip the source into a directory. Change to the directory containing the
|
|
program and run:
|
|
|
|
$ sudo python3 setup.py install
|
|
|
|
3. Run Plinth:
|
|
|
|
$ sudo plinth
|
|
|
|
4. Access Plinth UI:
|
|
|
|
Plinth UI should be accessible at http://localhost:8000
|
|
|
|
Note:-
|
|
Django 1.9 is required to run plinth
|
|
You can check the version by running django-admin --version in terminal
|
|
If apt-get provided django<=1.9 then follow the below steps
|
|
i) Uninstall Older django versions
|
|
sudo apt-get remove python3-django python3-django-stronghold python3-bootstrap
|
|
ii) Install Python3 pip
|
|
sudo apt-get install python3-pip
|
|
iii) Install django1.9 through pip
|
|
sudo pip3 install django django-bootstrap-form django-stronghold --upgrade
|