summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d4a048e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,25 @@
+# rsanta - make your Secret Santa
+
+You must set environments variables for smtp:
+```
+export EMAIL=youremail@tld.com
+export PASSWORD=passsword
+export HOST=smtp_host
+```
+
+Create a members file with the following syntax:
+```
+// file_for_members.txt
+Name Surname <email@tld.com>
+Name2 Surname2 <email2@tld.com>
+```
+
+Then build the source code:
+```
+cargo build
+```
+
+Then call the program with the file previously created as `-f` param:
+```
+/target/debug/rsanta -f <file_for_members.txt>
+```