RCOS database schema and related tools.
This repo holds the SQL code for setting up the RCOS database, the database definition, views and triggers, and tools for importing RCOS data from external platforms like Submitty and Venue.
The RCOS database is a Postgres DB running on our own infrastructure. Access is restricted to coordinators and faculty advisors, but the schema and tools used are open-sourced here.
This database is served by a Hasura GraphQL APIs that allows access to some resources when unauthenticated for public access, and allows full access to all resources when authenticated. RCOS infrastructure cannot connect to the database directly and must interact through this API.
Migrations and metadata are managed using the Hasura CLI.
hasura console --admin-secret xxxxxxxxxxxxxxxxxxxxxxxx
- Write a
.envfile with appropriate values for each key matching the ones used in thedocker-compose.ymlfile. - Run
docker-compose up -dto start everything. - While running, use
docker logsto inspect the log output of any of the containers.