- NodeJS
- NPM
optional
This app is deployed to Heroku
# 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
SMAP_USERNAME
- Username for your SMAP instanceSMAP_PASSWORD
- Password for your SMAP instanceSMAP_HOST_NAME
- Hostname for your SMAP server instancePROXY_HOST_NAME
- Hostname for the proxyPORT
- Defaults to 5000, provided by heroku