/tpp_registo_de_feeds

Uma directoria de operadores de transportes públicos Portugueses e das suas feeds de dados; uma visão da API do Banco de Dados TPP

Primary LanguageJavaScriptMIT LicenseMIT

Feed Registry

Codacy Badge

The TPP Feed Registry is a directory of public-transit operators and their authoriative data feeds. The directory is a view into TPP's Datastore API; it lets users browse operators and their feeds, as well as view the license restrictions on each feed. The Feed Registry also lets users contribute additional operators and feeds.

The Feed Registry was built using Ember, with the Ember CLI.

It uses the Ember CLI pod structure, configured by setting "usePods": true in feed-registry/.ember-cli.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone https://github.com/tpportugal/tpp_registo_de_feeds.git
  • cd tpp_registo_de_feeds
  • npm install
  • bower install

Configuration

To change the configuration, edit the config/environment.js file in the following ways:

  • The Feed Registry connects to the TPP Datastore API. By default, it connects to the Datastore API instance running at https://tpp.pt. To override, change the datastoreHost setting. For example: datastoreHost = 'http://localhost:3000';.
  • By default, the Feed Registry is served at /. To change the path for deployment, edit the baseURL setting. For example: baseURL = '/feed-registry';.

Running / Development