Added INSTALL, s-nail dependency.

This commit is contained in:
Oliver Rümpelein 2015-01-02 12:13:04 +01:00
parent 48777d0129
commit 4151b599a4
2 changed files with 11 additions and 1 deletions

9
INSTALL Normal file
View file

@ -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.

3
README
View file

@ -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! 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 To run "pizza" from the bare repository, cd into the src directory and run
export PIZZAINC="../assets"; ./pizza export PIZZAINC="../assets"; ./pizza