Fairgrounds is an app for sharing and voting on sets of cards (aka "Kingdoms") for the card game Dominion.
- Rails - ~> 5.1.4
- Ruby - 2.4.2
- PostgreSQL
If you haven't installed ruby, bundler, and postgresql, do that first. Then, do the following to set up this app:
git clone git@github.com:dkniffin/fairgrounds.git
cd fairgrounds
bundle install
cp .env.example .env
bundle exec rails db:setup
To import the data about all of Dominion's cards, run bundle exec rake import:cards
.
Note: This step is automatically run when running db:seed
or db:setup
To run the app locally:
bundle exec foreman start
Then navigate to http://localhost:3000