mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-25 01:23:23 +00:00
- Add a script for downloading updated files. - Add a service for easier loading of vocab files.
11 lines
327 B
Bash
Executable File
11 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
dst="`dirname $0`/../vendor"
|
|
mkdir -p "$dst"
|
|
|
|
curl 'http://static.datafoodconsortium.org/data/facets.json' > "$dst/facets.json"
|
|
curl 'http://static.datafoodconsortium.org/data/measures.json' > "$dst/measures.json"
|
|
curl 'http://static.datafoodconsortium.org/data/productTypes.json' > "$dst/productTypes.json"
|