From f3fe4482e5ff0884e90b19dd42c306205313f437 Mon Sep 17 00:00:00 2001 From: Csaba Apagyi Date: Sat, 11 Mar 2017 19:25:03 +0100 Subject: [PATCH] Fix README, add example of execution --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 366f4da..4a27fca 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,10 @@ 1, Create a local copy of [config](https://github.com/thisismydesign/poe-sniper/blob/master/config) and [input json](https://github.com/thisismydesign/poe-sniper/blob/master/input/example_input.json) files. Modify values accoding to your needs. -2, Run `ruby -e "require 'poe/sniper'; Poe::Sniper.run('')"` +2, Run `ruby -e "require 'poe/sniper'; Poe::Sniper.run('< path to your config file >')"` + +E.g. +`ruby -e "require 'poe/sniper'; Poe::Sniper.run('C:\poe-sniper\config')"` 3, Stop with CTRL+C @@ -35,7 +38,7 @@ You can also try the alerting functionality with test data without actually conn 1, Create a local copy of [example_socket_data.json](https://github.com/thisismydesign/poe-sniper/blob/master/spec/example_socket_data.json). -2, Run ruby -e "require 'poe/sniper'; Poe::Sniper.offline_debug('', '')" +2, Run ruby -e "require 'poe/sniper'; Poe::Sniper.offline_debug('< path to your config file >', '< path to your your cope of example socket data >')" 3, Stop with CTRL+C