SNOMED CT User Interface examples
This repository can be run locally, or deployed as a GitHub Pages Website. The instructions for both options are below:
(Prerequisites for both: node.js (npm is installed with it) )
(Substitue 'IHTSDO' for the name of your organisation in GitHub)
- ‘clone’ the ‘master’ branch locally and change directory into
snomed-ui-examples/snomed-search-demo
- If not already installed,
npm install -g @angular/cli
- Run $
npm install -g angular-cli-ghpages
to install a module that handles publishing of Angular applications to GitHub - Run $
ng build --prod --base-href https://IHTSDO.github.io/snomed-ui-examples/
to build the application ready for deployment (note: the final slash is crucial in the URL following–base-href
) - Run $
ngh --no-silent -d dist/snomed-search-demo
to deploy the application to https://IHTSDO.github.io/snomed-ui-examples/
- ‘clone’ the ‘master’ branch locally and change directory into
snomed-ui-examples/snomed-search-demo
- If not already installed,
npm install -g @angular/cli
- Run
ng serve
for a dev server. Navigate to http://localhost:4200/.
Further information can be found under snomed-ui-examples/snomed-serch-demo/README.md
To add / change the available terminology servers, open snomed-ui-examples/snomed-search-demo/src/app/app.component.ts
and
change the property terminologyServers
as required. snomedServer
can be altered to change the default server.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Apache 2.0
See the included LICENSE file for details.