Skip to content

Instantly share code, notes, and snippets.

@tpiecora
Last active September 16, 2015 19:09
Show Gist options
  • Select an option

  • Save tpiecora/b876222cc08e8c21c399 to your computer and use it in GitHub Desktop.

Select an option

Save tpiecora/b876222cc08e8c21c399 to your computer and use it in GitHub Desktop.
DynamoDB Local bash stuff
// This just checks if Dynamo is running, returns 1 if so.
ps aux | grep -c "java -Djava.library.path=./dynamo-java/DynamoDBLocal_lib -jar dynamo-java/DynamoDBLocal.jar -inMemory -port 2035"
// run this in the directory with the DynamoDBLocal.jar file.
java -Djava.library.path=./dynamo-java/DynamoDBLocal_lib -jar dynamo-java/DynamoDBLocal.jar -inMemory -port 2035 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment