Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to run the Data Loader

<Xa to contribute here>

Verify Deployment

<Xa to contribute, how to check that loader ran>On one of the local servers, goto /work/platform/DatasetMetadataLoader and execute the following:

Code Block

# Make sure you have the latest version
svn up
# Execute the loader
# Replace <repo_instance> and <auth_instance> by the repository and authentication instances.
# Either make sure that demouser@sagebase.org is a Synapse administrator on crowd, or replace it by a Synapse administrator account
python datasetCsvLoader.py -d ./AllDatasets.csv -l ./AllDatasetLayerLocations.csv -e http://<repo_instance>/repo/v1 -a http://<auth_instance>/auth/v1 -m /work/platform/platform.md5sums.csv -u demouser@sagebase.org -p demouser-pw

Verify Deployment

To verify deployment, run top-level queries against the repository instances from an authenticated account.

TODO: Add queries and expected counts returned.