Middleware for cloning Canvas Data resources to a PostgreSQL database.
canvas-data-warehouse
requires Docker version >= 1.9
as it uses Docker's networking feature: https://blog.docker.com/2015/11/docker-multi-host-networking-ga/
canvas-data-warehouse
uses the rollbar-relay
to log it's events to Rollbar. This module requires the ROLLBAR_POST_SERVER_ITEM_ACCESS_TOKEN
environment variable to be set. This token is listed in your Rollbar project's settings under Project Access Tokens.
Environment Variable | Description |
---|---|
CD_API_URL |
Canvas Data API URL (not your institution's Canvas URL) |
CD_API_KEY |
Canvas Data API Key |
CD_API_SECRET |
Canvas Data API Secret |
CD_PG_HOST |
PostgreSQL Database Host |
CD_PG_PORT |
PostgreSQL Database Port |
CD_PG_USER |
PostgreSQL Database Username |
CD_PG_PASSWORD |
PostgreSQL Database Password |
git clone https://github.com/neurotech/canvas-data-warehouse && \
cd canvas-data-warehouse && \
./bootstrap.sh
Clone this repository to your host.
git clone https://github.com/neurotech/canvas-data-warehouse
Change into the canvas-data-warehouse
directory and execute the bootstrap.sh
script.
cd canvas-data-warehouse
./bootstrap.sh