Install dependency packages during install/provisioning

This will not install all the dependencies of Plinth but will install the
dependencies required for essential modules to setup properly.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Sunil Mohan Adapa 2017-10-18 12:13:09 +05:30 committed by Joseph Nuthalapati
parent d4b479174c
commit 0af8175fd0
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35
3 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,13 @@ The entire setup is automatic and requires about 4.5 GB of disk space.
$ vagrant provision
## Installing Dependencies
Apart from dependencies listing in INSTALL file, Plinth may have additional
dependencies required by modules of Plinth. To install these, run:
$ sudo apt install -y $(plinth --list-dependencies)
## Manually Setting Up for Development
It is recommended that you use Vagrant to setup your development

View File

@ -43,6 +43,7 @@
program and run:
$ sudo python3 setup.py install
$ sudo apt install -y $(plinth --list-dependencies)
3. Run Plinth:

2
Vagrantfile vendored
View File

@ -22,6 +22,8 @@ Vagrant.configure(2) do |config|
config.vm.provision "shell", inline: <<-SHELL
cd /vagrant/
./setup.py install
apt update
apt install -y $(plinth --list-dependencies)
systemctl daemon-reload
systemctl restart plinth
SHELL