Imports the USDA National Nutrient Database to a Postgres database from the ASCII data files provided here.
bundle install
- Extract text files from the above link to
data/source
. - Rename
config.sample.rb
toconfig.rb
and set up the db connection in it. ruby main.rb