Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Conversation

@rmangi
Copy link

@rmangi rmangi commented Apr 15, 2015

I wanted to play with this a bit and decided to make it run easily on a local DB instance. Thought it was worth sharing in case anyone else wanted to play without the overhead of a real production environment. DynamoDB Local is very cool and worth showing off.

Rick Mangi and others added 4 commits April 15, 2015 19:44
System properties are set in dynamodb-geo-server/pom.xml in the tomcat plugin configuration. If is_local is defined the servlet will try to connect to a DynamoDB local instance on the default port. You can also use this to run the tomcat instance locally instead of using elastic beanstalk.

The server can be run by executing 'mvn tomcat7:run' and will listen on localhost:9090
Use DynamoDB Local and Tomcat Maven Plugin for local development.
added user friendly comment and removed extraneous debug output

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please deactivate these credentials ASAP - they're now public. :(

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. Yeah, I got an email from was and did that. Rookie mistake. Thanks. Seems like for local use you can put any string in there anyway.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, the access key id gets used to name the database file so you can run multiple tests concurrently without them interfering, but the signature isn't actually validated so it doesn't matter if you use an actual access key. Thanks for the contribution, we'll take a look tomorrow!

Rick Mangi and others added 2 commits April 15, 2015 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants