You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ If you haven't used X-Ray with Scorekeep yet, try the [`xray-gettingstarted`](ht
4
4
This branch shows an instrumented version of Scorekeep that runs in Amazon ECS, a service that lets you run Docker containers on Amazon EC2 instances. For ease of deployment, it uses a CloudFormation template to create all of the secondary resources used by Scorekeep, and Elastic Beanstalk to create the ECS cluster and deploy the containers.
5
5
6
6
**Prerequisites**
7
+
7
8
Install the following tools to create Docker images, upload them to ECR, and register task definitions with ECS.
8
9
- Docker
9
10
- AWS CLI v1.14.0+
@@ -14,29 +15,29 @@ Install the following tools to create Docker images, upload them to ECR, and reg
14
15
1. Update `aws.env` in the root of the repo with your account ID and region.
15
16
2. Create the CloudFormation stack by running **make stack** in the cloudformation directory. (If you already have a stack from the `ecs` or `fargate` branches, run **make update** instead.)
16
17
17
-
cloudformation$ make stack
18
+
cloudformation$ make stack
18
19
19
20
3. Build and publish the Docker containers for the API, frontend, and X-Ray daemon by running `make publish` in each folder.
20
21
21
-
$ make publish
22
-
scorekeep-frontend$ make publish
23
-
xray-daemon$ make publish
22
+
$ make publish
23
+
scorekeep-frontend$ make publish
24
+
xray-daemon$ make publish
24
25
25
26
4. Generate the task definition by running the `generate-dockerrun` script.
26
27
27
-
task-definition$ ./generate-dockerrun
28
+
task-definition$ ./generate-dockerrun
28
29
29
30
5. Initialize an Elastic Beanstalk repo in the task-definition folder. If you have an SSH key, you can specify it with the -k option.
Scorekeep is a RESTful web API implemented in Java that uses Spring to provide an HTTP interface for creating and managing game sessions and users. This project includes the Scorekeep API and a front-end web app that consumes it. The front end and API can run on the same server and domain or separately, with the API running in Elastic Beanstalk and the front end served statically by a CDN.
0 commit comments