Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (33 loc) · 1.15 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.15 KB

SMAP Server Proxy

Codeship Status for smap-consulting/smap-http-proxy Dependency Status

Dependencies

  • NodeJS
  • NPM

optional

Deployment

This app is deployed to Heroku

Local Development

# pull down the repository
git clone git@github.com:smap-consulting/smap-http-proxy.git

# install the dependencies
npm install

# set the environment variables (or use direnv)
export SMAP_USERNAME=myuser
export SMAP_PASSWORD=mypassword
export SMAP_HOST_NAME=http://mysmap.smap.com.au
export PROXY_HOST_NAME=http://localhost:5000

# run the app
forever -w app.js

Environment Variables

  • SMAP_USERNAME - Username for your SMAP instance
  • SMAP_PASSWORD - Password for your SMAP instance
  • SMAP_HOST_NAME - Hostname for your SMAP server instance
  • PROXY_HOST_NAME - Hostname for the proxy
  • PORT - Defaults to 5000, provided by heroku