Created
December 21, 2017 22:44
-
-
Save anupkrbid/36e27834fff1b6ed20e7194a2477696b to your computer and use it in GitHub Desktop.
install_dynamodb_locally
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
#!/bin/bash | |
wget https://s3.ap-south-1.amazonaws.com/dynamodb-local-mumbai/dynamodb_local_latest.tar.gz | |
tar -xvzf dynamodb_local_latest.tar.gz -C ./LocalDynamoDB/ | |
rm dynamodb_local_latest.tar.gz | |
cd LocalDynamoDB | |
#java -Djava.library.path=./DynamoDBLocal_lib/ -jar DynamoDBLocal.jar | |
cat dynamo > java -Djava.library.path=./DynamoDBLocal_lib/ -jar DynamoDBLocal.jar | |
cat > dynamo <<EOF | |
!/bin/bash | |
java -Djava.library.path=./DynamoDBLocal_lib/ -jar DynamoDBLocal.jar | |
EOF | |
#cat <<'EOF' >> dynamo | |
#!/bin/bash | |
# | |
#java -Djava.library.path=./DynamoDBLocal_lib/ -jar DynamoDBLocal.jar | |
#EOF | |
sudo chmod +x dynamo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment