Skip to content

sarahcarterch/dataspot

 
 

Repository files navigation

README.md


Setup

Add a .env file in the root folder with the following content:

DATASPOT_EMAIL_RECEIVERS=["petra.muster@bs.ch", "peter.muster@bs.ch]
DATASPOT_EMAIL_SERVER=
DATASPOT_EMAIL_SENDER=

DATASPOT_EDITOR_USERNAME=
DATASPOT_EDITOR_PASSWORD=
DATASPOT_ADMIN_USERNAME=
DATASPOT_ADMIN_PASSWORD=

DATASPOT_CLIENT_ID=
DATASPOT_AUTHENTICATION_TOKEN_URL=https://login.microsoftonline.com/organizations/oauth2/v2.0/token
DATASPOT_API_BASE_URL=https://www.myserver.com

How to integrate code from a dev (or feature) environment into prod [Work-In-Progress]

When integrating a dev into prod, first we need to clone the dev into an int database.

Then:

  1. Export DNK from dev as xlsx and import it again (dry run is enough).
  2. If we don't fix warnings or errors that occur, then they will appear later again.
  3. Integrate yaml from dev into int
  4. Run job "Regelverletzungen prüfen"
  5. Export DNK as xlsx and import it again (dry run is enough)
  6. Export and reimport other models that might be affected aswell
  7. Merge dev into main and delete dev branch

If everything worked without errors, we can apply the int yaml into the prod yaml and reapply the changes made to the int to the prod.

After that, delete the dev branch on github, in dataspot, and also its corresponding Annotations.yaml. Also delete the int environment in dataspot.


Notes (Renato)

Colors for top bar background:

Not explicitely defined, this is written here just so that I know what I used before. You can use whatever you want.

  • dev: 167a3e
  • int: ff0000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 87.5%
  • C++ 8.4%
  • Cython 3.2%
  • C 0.8%
  • Fortran 0.1%
  • PowerShell 0.0%