Skip to content

Commit cc8723a

Browse files
committed
Configure Dynamoid in bin/console
1 parent d9f9359 commit cc8723a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/console

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,12 @@ require 'dynamoid'
1111
# require "pry"
1212
# Pry.start
1313

14+
Dynamoid.configure do |config|
15+
config.access_key = 'REPLACE_WITH_ACCESS_KEY_ID'
16+
config.secret_key = 'REPLACE_WITH_SECRET_ACCESS_KEY'
17+
config.region = 'us-west-2'
18+
config.endpoint = 'http://localhost:8000'
19+
end
20+
1421
require 'irb'
1522
IRB.start

0 commit comments

Comments
 (0)