Skip to content

Populates LOCODEs in a database and allows you to search within them

License

Notifications You must be signed in to change notification settings

diegoc-am/terminal-lookup

Repository files navigation

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

About

Populates LOCODEs in a database and allows you to search within them

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages