Test backend service
You will need the following things properly installed on your computer.
- [Ruby] (version: 2.5.3)
- [Redis]
- [Postgresql]
git clone <repository-url>this repositorycd Backend
Set your redis values (or uncomment for default) on config/cable.yml:
url(default:redis://localhost:6379/1)
Set your Postgresql values (or uncomment for default) on config/database.yml:
host(default:localhost)port(default:5432)usernamepassword
bundle installrails db:setup
Running server:
rails s
Running random sales generator script (will run until stopped):
rake sales:random