Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 983 Bytes

README.md

File metadata and controls

52 lines (37 loc) · 983 Bytes

Terminal Lookup

pipeline status coverage report

Developing

Dependencies

  • docker
  • docker-compose
  • rbenv

Installation

rbenv install
gem install bundler
bundle install
docker-compose up -d
bundle exec rake db:migrate

Loading location codes

bundle exec rake import_locodes

Running the tests

bundle exec rake test

Running an evaluation suite

bundle exec rake

Shipping

docker build . -t terminal-lookup-api:latest
export DESIRED_PORT=8080
export ENVIRONMENT=production
docker run -p "$DESIRED_PORT":8080 terminal-lookup-api:latest bundle exec rackup -o 0.0.0.0 -E "$ENVIRONMENT" -p 8080

Contributors

  • Diego Camargo