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
+40-5Lines changed: 40 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,10 @@ Use the procedures in the following sections to run the project on Fargate and c
33
33
-[Contributing](#contributing)
34
34
35
35
# Prerequisites
36
-
- Docker installed locally
37
-
- AWS CLI installed locally with permission for: IAM, DynamoDB, SNS, ECS, Cloudwatch Logs, and ECR
36
+
Install the following tools to create Docker images, upload them to ECR, and register task definitions with ECS.
37
+
- Docker
38
+
- AWS CLI v1.14.0+
39
+
- AWS user with permission for IAM, DynamoDB, SNS, ECS, CloudWatch Logs, and ECR
38
40
39
41
# Repository Layout
40
42
The project contains two independent applications:
@@ -63,15 +65,48 @@ The Java application is built using the gradle Docker container so it does not r
63
65
64
66
# Deploying the application
65
67
66
-
To deploy the containers to your AWS Account,
68
+
*To deploy the containers to your AWS Account*
67
69
68
70
1. Setup the Cloudformation stack to create the prerequisite resources by executing `make stack` in the `cloudformation/` folder
69
71
2. Build and Publish your API container to the ECR repository created by Cloudformation executing `make publish` in the root folder
70
72
3. Build and Publish your Frontend container to the ECR repository created by Cloudformation executing `make publish` in the `scorekeep-frontend/` folder
71
73
4. Populate your Task Definition with the correct region and account id using the `generate-task-definition` script in the `task-definition` folder
72
74
5. Register your Task Definition to ECS with `aws ecs register-task-definition --cli-input-json file://scorekeep-task-definition.json`
73
-
6. Launch your Service or Task using the AWS CLI, ECS CLI, or AWS Console
74
-
75
+
6. Launch your Service or Task using the AWS CLI, ECS CLI, or AWS Management Console
76
+
77
+
To create a Fargate Service for Scorekeep with the ECS console
78
+
79
+
1. Open [the ECS console](https://console.aws.amazon.com/ecs/home).
80
+
2. Click **Create cluster**.
81
+
3. Select **Networking only** and click **Next step**.
82
+
4. Enter *scorekeep-cluster* for the cluster name and click **Create**.
83
+
5. Choose **View cluster**.
84
+
6. Under **Services**, click **Create**.
85
+
7. Create a service with the following settings. Click **Next Step** to proceed through each page as necessary.
0 commit comments