1.0.5 • Published 6 years ago

entmike-facetest v1.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

face-test npm version

Install

  • MacOS: sudo npm install entmike-facetest --unsafe-perm=true
  • Windows : npm install entmike-facetest

Usage

const FaceServer = require("entmike-facetest"),
AWS = require("aws-sdk"),
AWS2 = require("aws-sdk");

AWS.config.update({
	region: "us-west-2"
});

AWS2.config.update({
	region: "us-west-2",
	credentials : new AWS.SharedIniFileCredentials({profile: 'personal-account'})
});

FaceServer.listen({
	servers : {
		// Example HTTP server.  AWS account and S3 bucket name needed.
		4321 : {
			AWS : AWS,
			bucket : "com.entmike.miketest1"
		},
		// Example running a second AWS account
		4322 : {
			AWS : AWS2,
			bucket : "com.entmike.miketest2"
		},
		// Example running in https.  Certs required to work.
		4421 : {
			AWS : AWS,
			bucket : "com.entmike.miketest2",
			ssl : {
				certs : {
					key : "certs/private.pem",
					ca :"certs/ca.pem",
					cert : "certs/cert.pem"
				}
			}
		}
	}
});
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago