Skip to content

Manage Demo Databases

JasmineNg edited this page Dec 14, 2022 · 1 revision

How to update Demo DB:

Check if someone is already editing a db

  • Go to test.databases.dhis2.org and check if there is an instance with the version you wan't to edit
  • If there is, reach out to owner of the instance

Spin up a new instance in demo db

  • Go to awx.dhis2.org and log in with your dhis2 email
  • Click DHIS2 DEMO DATABASES
  • Select the version you want to edit
  • Select create as action
  • Select No in Flyway Repair
  • Click launch
  • Wait for the instance to spin up (takes a couple of minutes)
Screenshot 2022-12-14 at 08 37 41

Enter the instance and do any manual changes

  • The instance would show up in the list at test.databases.dhis2.org
  • Do the necessary changes in the instance from the list

Commit the changes by clicking the DHIS2 demo databases template

  • Select the same instance version
  • Select commit_db as action
  • Write a commit message
  • Click next
  • Click launch
Screenshot 2022-12-14 at 08 37 51

Spin down the instance after you are done

  • Select correct version
  • Select remove as action
  • Click next
  • Click launch
  • Assert that the instance is removed from the demo database list