Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Latest commit

 

History

History
57 lines (46 loc) · 2.1 KB

README.md

File metadata and controls

57 lines (46 loc) · 2.1 KB

PBS API Explorer

A simple Symfony app for syncing, viewing, and exporting data from various PBS API services.

Installation (development)

The application is configured for a dev environment using sqlite out of the box. Follow the steps below to run the development server:

  1. composer create-project cascadepublicmedia/pbs-api-explorer
  2. cd pbs-api-explorer
  3. php bin/console app:init
    • Prompts will be provided to create an initial user, be sure to give the user the ROLE_ADMIN role.
  4. php bin/console server:run

The console will output the URL of the app. Visit the URL and log in with the user created during setup.

Configuration

  1. Log in (with a user with the ROLE_ADMIN role).
  2. Visit /settings.
  3. Fill in and save API endpoints and credentials.
  4. Visit an API data list page (e.g. /station-manager/stations) and click the "Sync..." button.

TODOs

Future TODOs