Make the script easy to run

This commit is contained in:
Andrew Hamilton 2015-12-26 20:52:39 +00:00
parent be36f222b2
commit fb4e91867a
3 changed files with 30 additions and 0 deletions

View file

@ -1 +1,10 @@
# vigil
### Installation
To run vigil: (Tested in Ubuntu 15.10)
# git clone https://github.com/ahamilton/vigil
# cd vigil
# ./install-dependencies
# ./vigil <directory_path>

12
install-dependencies Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
set -e
echo "Install the dependencies of the vigil script..."
sudo apt-get --yes install python3-minimal python3-pygments python3-pyinotify \
python3-urwid
echo
echo "Install all the tools vigil may need..."
./install-tools

9
install-tools Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env python3
import subprocess
import tools
command = ["sudo", "apt-get", "--yes", "install"] + list(tools.dependencies())
subprocess.check_call(command)