Dynamodb::Local
This is a simple helper gem that automaticall installs the DynamoDB local tool and provides a simple ruby wrapper binar that allows you start and stop the local DynamoDB server from the command line.
IMPORTANT: DynamoDB Local supports the Java Runtime Engine (JRE) version 6.x or newer; it will not run on older JRE versions.
Installation
Add this line to your application's Gemfile:
gem 'dynamodb-local'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dynamodb-local
Usage
Executing the dynamodb-local binary will start the DynamoDB local
server in the foreground. It currently passes all arguments through to
the underlying server. Those are:
-dbPath <path> Specify the location of your database file. Default
is the current directory.
-help Display DynamoDB Local usage and .
-inMemory When specified, DynamoDB Local will run in memory.
-port <port-no.> Specify a port number. Default is 8000
Contributing
- Fork it ( https://github.com/[my-github-username]/dynamodb-local/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request