Skip to content

Conversation

obdulia-losantos
Copy link

Instead of use hard-coded values replace them with environment variables.

@JonasCir
Copy link
Collaborator

@obdulia-losantos

Thank you so much for your contribution :) I'm currently on vacation and review this later.

I appreciate your first-time contribution 👍 Could you elaborate a little bit how you came across this project?

@obdulia-losantos
Copy link
Author

Hi @JonasCir

I'm working in a project that requires to connect to SORMAS to elaborate reports to control an outbreak, number of active cases, number of cases waiting for the sample results, ... and I needed a way to generate random data for my local instance. Taking a look at all the SORMAS repositories I found this one. It does more or less what I wanted but most of the values were hard-coded and based on the German location (not my case).

Enjoy your holidays!

@DavidBaldsiefen
Copy link

@obdulia-losantos FYI, there also is a (less realistic, less efficient) datagenerator built into SORMAS. To use it, you need to add devmode=true to your sormas.properties. Then, navigate to Configuration->Developer Mode

@obdulia-losantos
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants