Skip to content

Instantly share code, notes, and snippets.

View ekivemark's full-sized avatar

Mark Scrimshire ekivemark

View GitHub Profile
@ekivemark
ekivemark / trifolia-fhir-ci-build-process.md
Last active November 6, 2019 21:10
Publishing from Trifolia to the FHIR CI Build

Publish FHIR IG Publisher zip file to build.fhir.org

This process outlines the steps to publish a FHIR publisher zip file output generated by Lantana's Trifolia service and move it to the HL7 FHIR CCI build server via a github repository.

Compile the following information:

Pre-requisite software to be installed

@ekivemark
ekivemark / Django_settings_secret_key.md
Created September 25, 2019 17:55
Parameterize django SECRET_KEY

The django settings file currently have a hard coded SECRET_KEY. We need to keep the production key secret.

The following change is proposed:

Current setting: ################################################

SECURITY WARNING: keep the secret key used in production secret!

SECRET_KEY = 'some_random_really_long_string'

@ekivemark
ekivemark / Server_Credential_Map.md
Last active September 25, 2019 17:33
Share My Health Credential Mapping
I recommend modfying wsgi.py for VMI/SMH/SMH_APP to enable some flexibility in the call to the EC2 parameter store.
THe current code is:
###########################################
import os
from .ssmenv import EC2ParameterStore
from django.core.wsgi import get_wsgi_application
@ekivemark
ekivemark / gist:81e4ae973ef193f0968ddef466a0c6fc
Created February 2, 2018 19:45
ekivemark keybase proof
### Keybase proof
I hereby claim:
* I am ekivemark on github.
* I am ekivemark (https://keybase.io/ekivemark) on keybase.
* I have a public key ASD5ROsEB99aGh0jJ5Kr68Y7ea1keciYvJCaLpfEbV2fqAo
To claim this, I am signing this object:
@ekivemark
ekivemark / Ubuntu1604py36Dockerfile
Created October 13, 2017 16:58 — forked from monkut/Ubuntu1604py36Dockerfile
Base Docker image for ubuntu-16.04 & Python3.6
# docker build -t ubuntu1604py36
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y software-properties-common vim
RUN add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv
RUN apt-get install -y git
@ekivemark
ekivemark / gist:27595ca635f780b5360f1ca78571a572
Last active August 17, 2016 18:55
Setting Django Environment Variables outside of the Repo
# Set Configuration Variables outside of the Repo
Passwords and confguration data should not be stored in a public (or private repo).
We therefore need a robust but predictable mechanism to allow machine/environment specific configuration settings to be defined.
The settings need to be loaded by the server that runs the application. In a production environment this is usually done in the wsgi file.
## Designed for Virtual Environments and Git
A common design pattern with python and git is to create a virtual environment. This usually includes creating a folder from which
a git clone is run to import code.