This assumes that we have a CoPilot app called test-app
and both a test
& prod
environment configured.
-
Start by uploading environment variables for our application's environments
$ # Test Param $ aws ssm put-parameter \
This assumes that we have a CoPilot app called test-app
and both a test
& prod
environment configured.
Start by uploading environment variables for our application's environments
$ # Test Param
$ aws ssm put-parameter \
/** | |
* Calculate the contrast of a color to determine the appropriate opposing text color. | |
* @author D. Condrey | |
* @param {string|object} - element background-color or element | |
* @return {string} | |
* white - if background is a dark shade color | |
* black - if background is a light shade color | |
*/ | |
define(function() { |
Standard practices say no non-root process gets to talk to the Internet on a port less than 1024. How, then, could I get Node talking on port 80 on EC2? (I wanted it to go as fast as possible and use the smallest possible share of my teeny tiny little micro-instance's resources, so proxying through nginx or Apache seemed suboptimal.)
Alter the port the script talks to from 8000 to 80:
}).listen(80);