This project runs a private friends and family "office pool" for the NCAA March Madness tournament. People fill out brackets, get points for correct picks, and compete with one another.
For more info, see the DOCUMENTATION.
sudo apt install postgresql
snap install redis
Setup regular user in postgres. Recommend no superuser and allowed to create dbs.
sudo -u postgres createuser --interactive <username>
Ensure user can access postgres
createdb <username>
psql
Install ruby from rbenv
rbenv install $(cat .ruby-version)
Standard rails / yarn setup
bundle install
yarn install
Database setup
bin/rails db:create:all
bin/rails db:schema:load
bin/rails db:seed
bin/rake
: Run testsbin/dev
: Start dev server. Watchers for rails, sidekiq, react, relay, and dart-sassbin/rubocop -A
: Auto-correct Rubocop violationsbin/rake schema
: Generate GraphQL Schema