File: INSTALL

package info (click to toggle)
plinth 0.13.1+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,240 kB
  • ctags: 1,759
  • sloc: python: 11,014; xml: 7,909; sh: 630; makefile: 36
file content (72 lines) | stat: -rw-r--r-- 1,468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Installing Plinth

1. Install the dependencies:

    On a Debian based system, run:

    $ sudo apt-get install \
    augeas-tools \
    dblatex \
    docbook-utils \
    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-apt \
    python3-augeas \
    python3-bootstrapform \
    python3-cherrypy3 \
    python3-coverage \
    python3-django \
    python3-django-stronghold \
    python3-gi \
    python3-psutil \
    python3-requests \
    python3-ruamel.yaml \
    python3-setuptools \
    xmlto

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 on Django version:

Django 1.10 is required to run Plinth. You can check the version by running:

    $ django-admin --version

If apt-get provided django<1.10, then follow the steps below:

1. Uninstall older django versions:

    $ sudo apt-get remove python3-django python3-django-stronghold \
    python3-bootstrap

2. Install Python3 pip:

    $ sudo apt-get install python3-pip

3. Install django1.10 through pip:

    $ sudo pip3 install django django-bootstrap-form django-stronghold \
    --upgrade