Skip to content

Instantly share code, notes, and snippets.

@ng-the-engineer
ng-the-engineer / README.md
Created July 26, 2020 17:51
Local DynamoDB GUI tool

Setup a database GUI client dynamodb-admin

  1. install the node library as global
> npm install dynamodb-admin -g
  1. Run dynamodb-admin by pointing to the local server endpoint
@ng-the-engineer
ng-the-engineer / README.md
Created July 26, 2020 17:48
Setup AWS credential for local DynamoDB

Local AWS credential

  1. Run
> aws configure
  1. In the prompt, you may enter arbitrary values for Access Key ID and Secret Access Key. Use 'local' for region name
@ng-the-engineer
ng-the-engineer / README.md
Last active July 26, 2020 17:43
Setup DynamoDB in a local machine

Setup Local DynamoDB

  1. Download local DynamoDB
  2. Unzip to a local folder
> mkdir ~/mydynamodb
> cd ~/mydynamodb
> unzip -a ~/Downloads/dynamodb_local_latest.zip
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOROOT:$GOPATH:$GOBIN

Switch JDK versions on Mac OS

Install jenv

$ brew install jenv

Add jenv to PATH variable in shell