git clone https://github.com/fhirbase/fhirface.git
If node.js is not installed get nvm (node version manager)
Then
nvm install 0 && nvm use 0
And then
cd /path/to/fhirface && npm install
echo '{' \
'"description": "Fhirface wiht OAuth2", ' \
'"name": "fhirface-oauth", ' \
'"server": "http://your-fhirplace-domain/api/app", ' \
'"title": "Fhirface oauth", '\
'"version": "0.0.0"' \
'}' > /path/to/fhirface/src/fhir.json
BASEURL='http://your-fhirwall-domain/fhir' \
OAUTH_CLIENT_ID='your-client-id' \
OAUTH_CLIENT_SECRET='your-client-secret' \
OAUTH_REDIRECT_URI='http://your-fhirplace-domain/fhirface-oauth/#/redirect' \
OAUTH_SCOPE='all' \
OAUTH_RESPONSE_TYPE='token' \
OAUTH_AUTHORIZE_URI='http://your-fhirwall-domain/oauth/authorize' \
npm run-script build
`npm bin`/fhirbase