Make the script easy to run
This commit is contained in:
parent
be36f222b2
commit
fb4e91867a
3 changed files with 30 additions and 0 deletions
|
|
@ -1 +1,10 @@
|
||||||
# vigil
|
# 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
12
install-dependencies
Executable 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
9
install-tools
Executable 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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue