Skip to content

CodeGrade/hourglass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hourglass

Web-based exam server.

Sister project of Bottlenose.

Anomaly Detection Progress

Development Environment Setup

A shell.nix is provided which should get you a reproducible environment for running hourglass.

More info about Nix.

It will also setup postgres to store data locally. Once in the nix-shell environment, run bundle install to install gems locally. You can then run start_postgres and stop_postgres to control the local postgres server.

Webpack and relay dev servers

Webpack is configured with Hot Module Reloading, start the dev server with yarn webpack-dev.

The relay dev server can be started with yarn relay-dev.

Manual Database setup

Hourglass expects postgresql.

Databases can be created with rails db:create and the schema is loaded with rails db:schema:load.

To setup the database with our development records, run rails db:populate.