Skip to content

Cherry-Squad/fantasy-unicorn-ruby

Repository files navigation

fantasy-unicorn-ruby

Actions Status
"Fantasy sports"-type online trading game with shares.

About

Fantasy Unicorn is an online game where players participate in autogenerated tournaments, where they choose shares according to the various modifiers and compete with other players.

Fantasy-unicorn-ruby is a backend part of the project. Frontend lives in Cherry-Squad/fantasy-unicorn-react repo.

This project is currently under development.

Fantasy Unicorn is a study project developed by the Cherry-Squad team as part of an assignment on a software engineering course at TverSU, Russia.

Getting started

  1. Install these components:
    • Ruby >= 3.0.2
    • PostgreSQL >= 14. On Debian, install libpq-dev too.
    • Ruby on Rails >= 6.1.4
  2. Clone an app and open a terminal in app's folder.
  3. Run following commands:
    $ bundle install
    $ rake db:setup
    $ rake db:migrate
    $ rake db:seed
    Then run rails server and rake jobs:work to start a server on 127.0.0.1:3000.