Simple rps game with web UI. Integrated CURB returns some random throw as your opponent.
Rails: 7.0.4 Ruby: 3.1.2 TurboFrame StimulusJS
- Clone repo
git clone [email protected]:mihailAkorr/rps.git
- Run
bundle
- Run
rake db:create
- Run
rails s
- Navigate to
localhost:3000
- Run
docker-compose build
- Run
docker-compose up
- Navigate to
localhost:3000
i used rspec tests
- For docker you can use
docker-compose run -e "RAILS_ENV=test" app bundle exec rspec ./spec
- In local
rspec ./spec