-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bff01e
commit 570417d
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# AWS credentials SECRET DO NOT SHARE | ||
export AWS_ACCESS_KEY_ID=""; | ||
export AWS_SECRET_ACCESS_KEY=""; | ||
export AWS_REGISTRY=""; | ||
|
||
if [ "$AWS_ACCESS_KEY_ID" == "" ] || [ "$AWS_SECRET_ACCESS_KEY" == "" ]; then | ||
echo "You must first edit this script to include your AWS credentials"; | ||
exit 1; | ||
fi | ||
|
||
# Clone the project that contains the docker-compose file | ||
git clone https://github.com/hackoregon/earthquake-heroes-offline.git earthquake-heroes | ||
cd earthquake-heroes; | ||
|
||
# Authenticate with ECR | ||
eval $(aws ecr get-login --no-include-email --region us-west-2); | ||
|
||
# Start the tile server and the game! | ||
docker-compose up |