mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
- Implement coverage functionality as a setuptools Command subclass (in plinth/tests/coverage/test_coverage.py) - Register the new 'test_coverage' command in setup.py - Modify the INSTALL file to specify python3-coverage as a new dependency - Modify the HACKING file to document the new 'test_coverage' command - Have git (via .gitignore) ignore the '.coverage' output data file and the contents of the 'plinth/tests/coverage/report' directory
26 lines
564 B
Plaintext
26 lines
564 B
Plaintext
# Installing Plinth
|
|
|
|
1. Install the dependencies:
|
|
|
|
On a Debian based system, run:
|
|
|
|
$ sudo apt-get install libjs-jquery libjs-modernizr \
|
|
libjs-bootstrap make pandoc python3 python3-cherrypy3 \
|
|
python3-coverage python3-django python3-bootstrapform \
|
|
python3-setuptools
|
|
|
|
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
|