Skip to main content

Local Testing

Test Utopia local changes in Atlantis local

  1. Check that Utopia appsettings.json has: 

      "Environ": "Staging",
      "Region": "LocalToStage"
  2. In Utopia file SystemResourceController.cs search for AtlantisFrontendUrl = UtopiaSettings?.AtlantisFrontendUrl and change it to AtlantisFrontendUrl = "https://localhost:44437"
  3. Make sure you're opted into Atlantis or in Utopia go to the file UserService.cs, search for the method GetAtlantisOptInStatusAsync, and have it return true
  4. Check that Atlantis appsettings.json has: 
    "Environ": "Local"

Note: You will be using your local database. Don't change DbConnectionConfigurationData in Utopia appsettings.json.

 

Test Utopia local changes against local DB

  1. Leave Utopia appsettings.json as: 

      "Environ": "Staging",
      "Region": "LocalToStage"
  2. Make sure you're opted out of Atlantis or in Utopia go to the file UserService.cs, search for the method GetAtlantisOptInStatusAsync, and have it return false

 

Test Utopia local changes against staging DB

  1. Leave Utopia appsettings.json as: 

      "Environ": "Staging",
      "Region": "LocalToStage"
  2. Update DbConnectionConfigurationData to the staging connection string found in LastPass under "Utopia Staging DB AWS"
  3. Make sure you're opted out of Atlantis or in Utopia go to the file UserService.cs, search for the method GetAtlantisOptInStatusAsync, and have it return false
  4. If working remotely make sure you're on the VPN