Web Service Template
-
Rename the cloned dir to your service name
-
Coveralls
- Enable in coveralls.io and add the repo token to .coveralls.yml
-
update
.git/configwith you repo details -
delete
GIT_PLACEHOLDER_DELETEit's there only to create thelibdirectory -
ECS/ECR
- Create a registry with the service name
- Create a task definision in ECS us-east-1 (N.Virginia) region - with the service name
-
Travis
- Enable the repo in travis
- DO NOT USE YOU YOUR OWN KEYS
travis encrypt AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> --addtravis encrypt AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> --addtravis encrypt GH_TOKEN=<GH_TOKEN> --addtravis encrypt NPM_TOKEN=<NPM_TOKEN> --add
-
find and replace all occurences of webservicetemplate with your service name.
-
Update README.md
-
Update
package.jsonwith the service name
- Create a KMS encryption key with the service name
- Create a secret parameter with the KMS key with the service name as an alias
config/configuration.jspulls the secrets and decrypts them beforenpm startandnpm test