Skip to content

Commit 428cccf

Browse files
author
Michael Wunderlich
committed
cleanup
1 parent 71e28e0 commit 428cccf

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ build/*
55
.elasticbeanstalk/*
66
!.elasticbeanstalk/*.cfg.yml
77
!.elasticbeanstalk/*.global.yml
8+
*.zip
9+
*.sh
10+
lib

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
2+
# Running the application on Elastic Beanstalk
3+
4+
## Create environment
15
Create a Java 8 SE environment in Elastic Beanstalk
6+
## Permissions
27
Add DynamoDB permissions to your instance profile (aws-elasticbeanstalk-ec2-role): [IAM console](https://console.aws.amazon.com/iam/home#roles)
8+
## Configure
9+
Set API endpoint in public/app/scorekeep.js
10+
## Deploy
311
Deploy the application to your environment.
12+
13+
# Local testing
14+
## API vs Client
15+
## Gradle
16+
## Spring CLI
17+
## CORS
18+
19+
# Running on separate servers

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ targetCompatibility = 1.8
2828

2929
dependencies {
3030
compile("org.springframework.boot:spring-boot-starter-web")
31-
testCompile('org.springframework.boot:spring-boot-starter-test')
32-
compile('com.amazonaws:aws-java-sdk-dynamodb')
33-
testCompile group: 'junit', name: 'junit', version: '4.11'
31+
testCompile("org.springframework.boot:spring-boot-starter-test")
32+
compile("com.amazonaws:aws-java-sdk-dynamodb")
33+
testCompile("junit:junit:4.11")
34+
compile("com.fasterxml.jackson.core:jackson-databind:2.8.4")
3435
}
3536

3637
dependencyManagement {
3738
imports {
38-
mavenBom('com.amazonaws:aws-java-sdk-bom:1.11.25')
39+
mavenBom("com.amazonaws:aws-java-sdk-bom:1.11.39")
3940
}
4041
}
4142
task wrapper(type: Wrapper) {
4243
gradleVersion = '2.3'
43-
}
44+
}

0 commit comments

Comments
 (0)