IQSS / dataverse-sample-data

Scripts and sample data for demo purposes
6 stars 11 forks source link

Dataverse tests integration #26

Closed skasberger closed 2 years ago

pdurbin commented 3 years ago

The tasks are not only to review and merge this pull requests but to run some code over at https://github.com/AUSSDA/dataverse_tests/tree/iqss-sample-data_integration as described below by @skasberger


9:26 Have finished the update of the dataverse tests as discussed earlier. 9:26 The code has its own branch: https://github.com/AUSSDA/dataverse_tests/tree/iqss-sample-data_integration 9:26 To use it, you have to create your own .env file. 9:26

  1. init the dataverse-sample-data submodule 9:27
  2. copy configs/localhost_docker/utils/create_testdata_01.json to your own folder. 9:28
  3. create your own user file 9:29
  4. and of course the first step: install the projects 9:29 you should find everything necessary in README.md 9:29 but we can also have a call for this. 9:33 also had to adapt the dataverse-sample-data repo a bit. created an own branch for it here: https://github.com/AUSSDA/dataverse-sample-data/tree/dataverse-tests-integration 9:34 have created a PR for this too. 5:02 TO RUN: 5:02 set ENV_FILE 5:03 set browser engines python src/dvtests create-testdata CONFIG_FILE 5:05 and: you most likely have to adapt ther user-handle field in the config, cause i have used dataverseAdmin, and you maybe want to upload the data with another user. 5:06 its all straight forward, but still some parts need to be configured, as many (secret) pieces fit together.