Setup Instructions - Windows
If you want to edit this website locally on Windows, here are the setup instructions:
- Create a free GitHub if you don’t have one already. Enabling 2fa is recommended (and may be required by your organization.)
- Follow the Quarto “Get Started” instructions to install Quarto on your system.
- Install R
- Install RStudio
- Install RTools
- Install Git
- Verify install worked with
git --version
in your command prompt, which should produce a version number
- Verify install worked with
- Install uv
- Clone the relevant GitHub repository to your local computer
- If you have write access to https://github.com/NIH-ODSS/fhir-for-research, use this repo
- Otherwise, create a fork
- Install Python3 and Python environment:
- In Command Prompt, run
uv sync
- Alternatively: you can run
uv export --format requirements.txt
to generate a requirements.txt file and use your own Python tooling. This way is not recommended.
- In Command Prompt, run
- Open RStudio, go to “File > Open Project…”, and navigate to the folder of your cloned repo. You should see a
fhir-for-research.Rproj
file in this folder – if you do, that’s the right folder. - Run
renv::restore()
in the R Console to load all the R dependencies
Note: Running quarto check
in your command prompt will return what components of Quarto have been installed properly and where there might be issues.