ruupert / eduroam-location-api

This is an attempt to create an API for organizations to add and update eduroam locations
https://eduroam-api.herokuapp.com
MIT License
0 stars 0 forks source link

Build Status Code Climate Coverage Status Dependency Status

An attempt on creating an api for eduroam access point placement onto the 'Where can I eduroam'-map. This application is intended to work as an intermediary between organization(s) and the party responsible for adding the locations.

Wiki

Latest build @ heroku

Setup

# git clone https://github.com/ruupert/eduroam-location-api.git
# cd eduroam-location-api
# bundle install
# export EDUROAM_API_ADMIN_USERNAME=username
# export EDUROAM_API_ADMIN_PW=secret
# export EDUROAM_API_DEFAULT_LANGS=fi,se
# export NRO_COUNTRY=fi
# export GMAPAPI=<Google Maps API-key>

EDUROAM_API_DEFAULT_LANGS controls the other languages that are added by default besides english (which is mandatory).

Edit config/database.yml to point to your database

# rake db:create
# rake db:migrate
# rails server

Using the set username and password you can access /institutions and /import paths.

Issues