Skip to content

nussucommit/takoyaki

Repository files navigation

takoyaki

NUSSU commIT Duty Website, iteration 4

Build Status Coverage Status

Entity-Relationship Diagram

ERD

Generate ERD

To generate the current Entity-Relationship Diagram, install graphviz (sudo apt install graphviz or brew install graphviz), then run rake generate_erd. This is also run as a post-migration hook (i.e. after bin/rails db:migrate)

Installation

Make sure you have Ruby 2.6.0, Bundler, and PostgreSQL >9.6 installed. Also, create an account on Mailgun for email services. Adjust the content of database.yml and .env

cp config/database.yml.example config/database.yml
cp .env.default .env
bundle install
bin/rails db:setup
bin/rails server