datacommonsorg / website

Code for the Data Commons website
https://datacommons.org
Apache License 2.0
24 stars 88 forks source link

Support schema update mode for data docker #4686

Closed hqpho closed 1 month ago

hqpho commented 1 month ago

Use the DATA_RUN_MODE environment variable to decide what mode to pass to run_stats.sh and whether to build embeddings. The mode schemaupdate for run_stats.sh is added by https://github.com/datacommonsorg/import/pull/344, which this PR updates the import submodule to include.

A docsite page will describe how to pass in this environment variable: https://github.com/datacommonsorg/docsite/pull/527