From 4151b599a481a87ad519db88c7045be0deb40e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Fri, 2 Jan 2015 12:13:04 +0100 Subject: [PATCH] Added INSTALL, s-nail dependency. --- INSTALL | 9 +++++++++ README | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 INSTALL diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..e990e52 --- /dev/null +++ b/INSTALL @@ -0,0 +1,9 @@ +==== Installing Pizza ==== + +For Pizza to work, you need a running mailservice (either server, smarthost or local) using "mailx" from s-nail (provided by, i.e., heirloom-mailx in debian, s-nail in arch) . Install Pizza running the following commands as root after cd'ing into the git base directory: + +install -m 755 src/pizza /usr/local/bin/pizza +mkdir -p /usr/local/share/pizza +install -m 644 assets/pizza assets/heart /usr/local/share/pizza/ + +If you want to use another directory than "/usr/local/share/pizza/" for the ASCII-Art-Pics, you have to set the "PIZZAINC"-Variable accordingly. \ No newline at end of file diff --git a/README b/README index ebe209d..3cf011b 100644 --- a/README +++ b/README @@ -2,7 +2,8 @@ Ever wanted to share a pizza (or else) to anyone who offers a service, for examp With PIZZA, you may now send pizza (or else) to any mailaddress out there! -Usage: You need a running mail-service on your system (i.e. a postfix configured to use a smarthost). +Usage: See INSTTALL for prerequisites. + To run "pizza" from the bare repository, cd into the src directory and run export PIZZAINC="../assets"; ./pizza