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

@@ -47,16 +47,12 @@
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
#warning Potentially incomplete method implementation.
// Return the number of sections.
return 0;
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
#warning Incomplete method implementation.
// Return the number of rows in the section.
return 0;
return [scheduleFilmsArray count];
}
/*

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