Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunderl committed Mar 2, 2018
1 parent a888a48 commit e46926a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ Install the following tools to create Docker images, upload them to ECR, and reg
1. Update `aws.env` in the root of the repo with your account ID and region.
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.)

cloudformation$ make stack
~/eb-java-scorekeep/cloudformation$ make stack

3. Build and publish the Docker containers for the API, frontend, and X-Ray daemon by running `make publish` in each folder.

$ make publish
scorekeep-frontend$ make publish
xray-daemon$ make publish
~/eb-java-scorekeep$ make publish
~/eb-java-scorekeep/scorekeep-frontend$ make publish
~/eb-java-scorekeep/~/eb-java-scorekeep/xray-daemon$ make publish

4. Generate the task definition by running the `generate-dockerrun` script.

task-definition$ ./generate-dockerrun
~/eb-java-scorekeep/task-definition$ ./generate-dockerrun

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.

task-definition$ eb init -p multi-container-docker -r us-east-1 scorekeep-ecs
~/eb-java-scorekeep/task-definition$ eb init -p multi-container-docker -r us-east-1 scorekeep-ecs

6. Create a Multicontainer Docker environment.

task-definition$ eb create -d -i m5.large --sample --instance_profile scorekeep-beanstalk-ecs-role scorekeep
~/eb-java-scorekeep/task-definition$ eb create -d -i m5.large --sample --instance_profile scorekeep-beanstalk-ecs-role scorekeep

7. Deploy the task definition.

task-definition$ eb deploy
~/eb-java-scorekeep/task-definition$ eb deploy

# Scorekeep
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.
Expand Down

0 comments on commit e46926a

Please sign in to comment.