mariusc / open311-mobile

GeoReporter iOS source code. Native iOS smartphone client app for Open311 API civic issue reporting.
http://open311.org
Other
0 stars 0 forks source link

Rename AvailableServers.example.plist to AvailableServers.plist #3

Open neoneye opened 10 years ago

neoneye commented 10 years ago

Nice project.

I did a git clone and managed to get it running in the simulator after a minor change.

The AvailableServers.plist is missing after a fresh checkout.

I had to rename AvailableServers.example.plist to AvailableServers.plist. I'm not sure if this is the correct way to get the project working. Perhaps always use this file, so it compiles out of the box.

Anyways interesting service.

mariusc commented 10 years ago

Thanks for the appreciation.

The thing with AvailableServers.plist renaming was the choice of the guy in charge of the project (and my mentor for the Google Summer of Code program). I think it is like this as a reminder to set up the AvailableServers.plist correctly in order to use it with a custom Open311 server implementation. Before pushing it to the AppStore, the guy in charge of the project creates an AvailableServers.plist with all the official supported endpoints (for cities like Bloomington, Boston, Bonn, Chicago and probably some others as well).

So there is no AvailableServers.plist on the github repo (it's even in the .gitignore file), but there is an example with a test server. It was a choice of implementation.

inghamn commented 10 years ago

In order to POST issues to Open311 servers, you must go to each server admin and request an api_key. I'm not going to give out the api_keys that I use... you need to get your own.

The AvailableServers.example just shows the format for the configuration. This way you can compile your own copy of the app and point to your own set of Open311 servers.

On 11/25/2013 10:02 AM, Simon Strandgaard wrote:

Nice project.

I did a git clone and managed to get it running in the simulator after a minor change.

The AvailableServers.plist is missing after a fresh checkout.

I had to rename AvailableServers.example.plist to AvailableServers.plist. I'm not sure if this is the correct way to get the project working. Perhaps always use this file, so it compiles out of the box.

Anyways interesting service.


Reply to this email directly or view it on GitHub: https://github.com/mariusc/open311-mobile/issues/3