-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added dynamodb installation script #24
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,23 @@ | ||||||||||||||||||||||
|
||||||||||||||||||||||
#!/bin/bash | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
echo "Installing Java" | ||||||||||||||||||||||
brew install openjdk | ||||||||||||||||||||||
|
||||||||||||||||||||||
echo "java is installed sucessfully.... :) " | ||||||||||||||||||||||
echo " " | ||||||||||||||||||||||
echo " " | ||||||||||||||||||||||
|
||||||||||||||||||||||
mkdir ./dynamolocal && cd ./dynamolocal | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
echo "Downloading the DynamoDB tar file" | ||||||||||||||||||||||
wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz | ||||||||||||||||||||||
tar xzf dynamodb_local_latest.tar.gz | ||||||||||||||||||||||
rm -f dynamodb_local_latest.tar.gz | ||||||||||||||||||||||
|
||||||||||||||||||||||
echo " " | ||||||||||||||||||||||
echo "Dynamodb-local is installed and ready for use.... :) " | ||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would be useful to add the command to start, how to ping the local installation, and a link to the docs.
Suggested change
|
||||||||||||||||||||||
|
||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would also be quite cool if we started a Makefile for the project to keep scripts together If we added:
To a root file called |
||||||||||||||||||||||
|
||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thought: I guess we could also look into installing: https://github.com/localstack/localstack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can add
\n
for newline, if you wanted to.