2014-08-30 08:33:08 +02:00
|
|
|
festivalhelper
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
|
|
Festival Helper Ios App
|
2014-09-03 08:20:14 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|