Skip to content

Commit

Permalink
Distribution script
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoEatingFuzz committed Oct 14, 2019
1 parent 9bff01e commit 570417d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions get-game.sh
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

0 comments on commit 570417d

Please sign in to comment.