From f2bb13595d67775e8ea89ea595cdbe8b7db96dd8 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Mon, 15 Sep 2014 16:27:36 -0300 Subject: Added run instructions of fake to README --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8139367c..4573bf3f 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,22 @@ If you don't have `bower` installed globaly, change the third line to `$ ./node_ ## Fake Service From inside `./fake-service` ``` -$ bundle install +$ virtualenv .virtualenv +$ source .virtualenv/bin/activate +$ pip install -r requirements.txt +$ ./go +``` + +If you want to see random emails on the fake service, run it like this ``` +$ env AUTOLOAD=True ./go +``` + +If you want to control the emails you'll see on the fake service, edit the mailset.csv.example file +and run the following command while the server is running +``` +$ curl --data-binary @mailset.csv.example http://localhost:4567/control/mailset/csv/load +``` + + And that's it. -- cgit v1.2.3