/faa-civil-aircraft-db

Setup a local Postgres database from the Civil Aircraft DB download from the FAA

Primary LanguageRuby

FAA Civil Aviation DB

This is a script to create a Postgres database locally from the FAA's civil aviation aircraft registry database download.

Instructions

Be sure you have Postgres installed and running locally and Ruby installed.

  1. Clone this repository.
  2. Download the database file.
  3. Unzip the file and place the txt files in the data/ folder in this repository.
  4. Run rake in the directory.

After completing this you will have a new database on your Postgres database called aircraft_db. See the tables.sql file for the schema.