You are on page 1of 1

Crna Tacka is iOS app that informs end user about near danger on the road.

It s
upports sound notification of near danger location, overview and reporting of da
nger locations. Quick reporting is supported via Today widget integration. exposes REST api that provides data in JSON form
at that is going to be used to access the applications back end.
The web api is created by following instructions that could be found at followin
g links:
Note: the instructions about adding database support in the second link are not
working so use following steps to achieve that goal:
1. add posgressql add-on to the target application on heroku
Go the, login, go to the target application and add the add-on
2. add Rackfile and config/environments.rb files
3. modify Gemfile and api.rb files by adding required dependencies
4. install homebrew package manager:
ruby -e "$(curl -fsSL
5. instal posgresql
brew install posgresql
6. install the bundle locally
ARCHFLAGS="-arch x86_64" bundle install
7. push to heroku