Sha256: 15b37cc47af6b8601296e264d33dfcf5e9fa6a82f8c1595275a47289a5b4a71e

Contents?: true

Size: 844 Bytes

Versions: 176

Compression:

Stored size: 844 Bytes

Contents

#!/bin/bash -eux

mkdir -p /usr/local/dynamodb_local
curl -s https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz -o /usr/local/dynamodb_local/dynamodb_local_latest.tar.gz
cd /usr/local/dynamodb_local
tar zxf dynamodb_local_latest.tar.gz

cat > /usr/local/bin/dynamodb-local <<EOL
#!/bin/bash

# for dynamodb-local and dynamodb-admin
# More details: https://github.com/tongueroo/jets/wiki/Dynamodb-Local-Setup-Walkthrough
export AWS_SECRET_ACCESS_KEY=fakekey
export AWS_ACCESS_KEY_ID=fakeid

# Based on: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/dynamodb-local.rb
# I manually extracted out the dynamodb local tar to /opt/dynamodb_local
cd /usr/local/dynamodb_local

exec java -Djava.library.path='./DynamoDBLocal_lib' -jar 'DynamoDBLocal.jar' "$@" 2>&1 &
EOL
chmod a+x /usr/local/bin/dynamodb-local

Version data entries

176 entries across 176 versions & 3 rubygems

Version Path
jets_bb_fork-0.0.4 .codebuild/scripts/install-dynamodb-local.sh
jets-2.1.1 .codebuild/scripts/install-dynamodb-local.sh
jets-2.1.0 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.6 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.5 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.4 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.3 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.1 .codebuild/scripts/install-dynamodb-local.sh
jets-2.0.0 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.32 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.31 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.30 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.29 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.28 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.27 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.26 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.25 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.24 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.23 .codebuild/scripts/install-dynamodb-local.sh
jets-1.9.22 .codebuild/scripts/install-dynamodb-local.sh