-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Development environment #442
Comments
|
Was just looking for this. Got Edit: Ah, I just needed to change |
Correct. En wat betreft testdata, het makkelijkste is om een database van productie in te lezen en die 'dood' te maken qua externe koppelingen. Je kunt dat eenvoudig realiseren met het volgende management command die ik ervoor gemaakt heb:
Dit:
|
Als je overigens wilt testen met live data die constant binnenstroomt, kun je het beste je productieomgeving wisselen naar een API-pusher, die zowel lokaal (op productie zelf) als naar je testomgeving/PC callt. Dat kan met de v1 API scripts uit de docs (http://dsmr-reader.readthedocs.io/nl/latest/api.html#script). Je kunt dan meerdere endpoints configureren, ik heb bijvoorbeeld:
Let wel op dat de |
Ik laat dit voor wat het is voor nu. Wellicht dat ik het weer helemaal uitwerk op het moment dat ik thuis een herinstallatie van mn ontwikkelomgeving nodig heb. |
De herinstallatie is daar, dus mooi moment. |
Done, voor volgende release: https://dsmr-reader.readthedocs.io/nl/development/development.html |
Nog een kleine toevoeging gedaan m.b.t. coverage hulp. |
The documentation should have a section describing how to set up a development evironment, running and testing it.
dsmr_datalogger_api_client.py
)The text was updated successfully, but these errors were encountered: