onaio / fhir-tooling

A command line utility to support FHIR Core content authoring
Other
2 stars 2 forks source link

Affected Issue(s): Fixes when try to run within Windows OS environment #268

Closed muhammad-levi closed 3 months ago

muhammad-levi commented 3 months ago

Resolves https://github.com/sid-indonesia/it-team/issues/313

What this commit has achieved:

  1. Renamed an entry in .env from username to user_name to accomodate usage within Windows OS (there is a default OS env var %username% within Windows OS)
  2. Added python-magic-bin to the requirements.txt, to resolve issue of:
    ImportError: failed to find libmagic.  Check your installation

    (Possibly only happens in Windows OS, not really sure)

Wambere commented 3 months ago

@muhammad-levi please also change username to user_name here in the pytest.ini file for the tests to work