Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 493 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 493 Bytes

NBP month stats

Look for the lowest price of a particular currency in particular month

Usage

Local

  1. Install ruby
  2. gem install bundler
  3. bundle install
  4. ruby main.rb currency month year e.g. ruby main.rb USD 4 22 - all params are optional and defualt to USD and current month

Dockerised

  1. docker-compose up -d
  2. docker compose run app ruby main.rb currency month year e.g. ruby main.rb USD 4 22 - all params are optional and defualt to USD and current month