added testbackend information into readme

This commit is contained in:
Senad Uka
2014-09-03 08:20:14 +02:00
parent 9b19f6fe3a
commit 10eb4e0f14
2 changed files with 20 additions and 6 deletions

View File

@@ -2,3 +2,21 @@ festivalhelper
==============
Festival Helper Ios App
Test Backend
============
To run test backend server you need to have:
* ruby (tested on 2.1.2 installed through RVM)
* webrick gem (gem install webrick)
cd FESTIVAL_HELPER_GIT_ROOT/tools/testbackend
ruby simplewebserver.rb
Script will run a web server listening on localhost:8080
Ios app is configured to use the web service on port 8080
In order to change the data - simply change the .json files in respective directories. eg - ./sff2014/schedule.json