Open ThimoHoelter opened 1 year ago
Hey @ThimoHoelter,
Hey @SvenSommer, thank you for your help.
The validator version i used is 6.1.9.
Hello @ThimoHoelter,
I apologize for the late response; I've been quite busy. However, I've now found a potential game-changer that should help resolve the setup problems you're experiencing with the codfsh
extension.
A devcontainer, or Development Container, is a concept used in Visual Studio Code that allows you to define and use a Docker container as a full-featured development environment. It encapsulates the development environment's configuration, dependencies, and tooling in a container, ensuring that all developers working on a project have a consistent environment.
This approach has several benefits:
For more detailed information, you can refer to the official VSCode documentation on devcontainers.
codfsh
In the spec-TemplateForSimplifierProjects
repository, we have a preconfigured devcontainer that is tailored for FHIR development with the codfsh
extension. This devcontainer includes all necessary dependencies and configurations, including the correct setup for the fhir
command.
To use this in your repository, you can add the .devcontainer
folder from the spec-TemplateForSimplifierProjects
repository to your project. Here's the link to the folder in the feature branch: spec-TemplateForSimplifierProjects/.devcontainer.
Once you've added this folder to your project, you can reopen your project in VSCode in the devcontainer environment. VSCode will build the Docker container based on the configuration and use it as your development environment.
Copy the .devcontainer
folder: Clone or download the .devcontainer
folder from the provided link and add it to the root of your project.
Reopen in Container: Open your project in VSCode, and you'll be prompted to reopen it in a container. If not, you can use the command palette (Ctrl+Shift+P
) and select "Remote-Containers: Reopen in Container".
Test the codfsh
Extension: Once your project is open in the devcontainer, try running the codfsh
extension again.
I hope this solution helps resolve the issues you're facing. Please let me know if you encounter any problems or have any questions about setting up or using the devcontainer.
Checked all requirments and sushi runs without an error. Tried to run the extension on my repo and this happens.
Output: codfsh: Info [INFO] Extension started [INFO] Checking FHIR Packages Dependencies... [INFO] Found Workspacefolder in 'c:\Users...' [INFO] Found sushiConfigPath: c:\Users...\sushi-config.yaml [INFO] Found resourceFolder: c:\Users... [INFO] Executing: 'fhir cache'
codfsh: Firely Terminal fhir chache