Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codegrade/hourglass

Web-based exam server.
https://github.com/codegrade/hourglass

rails6 react redux typescript

Last synced: about 21 hours ago
JSON representation

Web-based exam server.

Awesome Lists containing this project

README

        

# Hourglass

Web-based exam server.

Sister project of [Bottlenose][bottlenose].

[Anomaly Detection Progress](ANOMALIES.md)

## Development Environment Setup

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

[More info about Nix][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`.

[bottlenose]: https://github.com/CodeGrade/bottlenose
[nix]: https://nixos.org/nix/