Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.63 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.63 KB

Open Active Conformance Services

A suite of tools to discover, download, normalise, enhance and republish data that uses the OpenActive specification.

Quick Start

Prepare

Set up a Postgres database and user. Record the details.

These instructions assume Linux.

Configuration

Set environment variable:

DATABASE_URL=postgres://user:pass@host:port/database

Install

$ npm install
$ npm run migrate

Data tools

Run each of these in turn to run the full pipeline. See

Webserver

  • $ npm run start-webserver Runs webserver providing JSON output of certain data for use by status

Running the tests

Note : Tests are destructive to any existing data. Create a dedicated database before running them.

To run the tests:

$ DATABASE_URL=postgres://test:test@localhost/testing ./node_modules/mocha/bin/mocha