ScheduleOfActivityIG - Local Development build (v0.1.1). See the Directory of published versions
Developer Setup
Setup
NOTE This is a temporary page - it will not be included in the final IG
Tutorials:
Repository
- The repository for this project is currently fhir-schedule-of-activities-ig (it will be migrated to the HL7 org at some point)
- The documentation is being automatically built and is available here
Recommended Editor
Installation Instructions (Mac OSX)
- Install Sushi
$ brew install node
$ npm install -g fsh-sushi
- Install jekyll
$ brew install rbenv
$ rbenv install 2.5.8
$ rbenv local 2.5.8
$ gem install --user-install bundler jekyll
- Update the publisher
- Initial build (this will depend on where you have ruby installed)
$ PATH=$PATH:~/.gem/ruby/2.5.8/bin ./_genonce.sh
Installation Instructions (Windows)
- Install Node
- https://nodejs.org/en/download/ - download and install the Windows Installer
- Install Visual Studio Code
- https://code.visualstudio.com/download - download and install the Windows Installer
- Install Jekyll
- Follow the instructions on https://jekyllrb.com/docs/installation/windows/
- Install Jekyll plugin - PlantUml
- In a command prompt type in ‘gem install jekyll-plantuml’ (Jekyll needs to be installed for this step)
- Install the VS Code extension for FSH
- https://marketplace.visualstudio.com/items?itemName=kmahalingam.vscode-language-fsh
- Start VS Code and open a terminal (CTRL + `) and in the terminal run the following
$ npm install -g fsh-sushi
- Update the publisher
- Build
Development process
- Identify a small manageable task
- Create a new branch from
main
using a ‘sensible’ name eg ‘feature/bundle_one’
- Make your changes
- Run sushi
- Run
_genonce.sh
- Commit your code
- Push your changes to the remote
- Raise a PR
- Merge the PR
- Change back to the
main
branch
- Pull the changes from the remote