added testbackend information into readme
This commit is contained in:
@@ -47,16 +47,12 @@
|
|||||||
|
|
||||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||||
{
|
{
|
||||||
#warning Potentially incomplete method implementation.
|
return 1;
|
||||||
// Return the number of sections.
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||||
{
|
{
|
||||||
#warning Incomplete method implementation.
|
return [scheduleFilmsArray count];
|
||||||
// Return the number of rows in the section.
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
18
README.md
18
README.md
@@ -2,3 +2,21 @@ festivalhelper
|
|||||||
==============
|
==============
|
||||||
|
|
||||||
Festival Helper Ios App
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user