-
Notifications
You must be signed in to change notification settings - Fork 0
luongm/testScalaDynamoDB
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Instructions to run project sucessfully 1) Set environment variables for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY 2) Add the jar files in lib/ to your classpath. Here's what I do (in terminal): $ CLASSPATH="lib/aspectjrt.jar:lib/aspectjweaver.jar:lib/aws-java-sdk-1.3.3.jar:lib/commons-codec-1.3.jar:lib/commons-logging-1.1.1.jar:lib/freemarker-2.3.18.jar:lib/httpclient-4.1.1.jar:lib/httpcore-4.1.jar:lib/jackson-core-asl-1.8.7.jar:lib/jackson-mapper-asl-1.8.7.jar:lib/mail-1.4.3.jar:lib/spring-beans-3.0.7.jar:lib/spring-context-3.0.7.jar:lib/spring-core-3.0.7.jar:lib/stax-1.2.0.jar:lib/stax-api-1.0.1.jar" I put this line in ~/.bash_profile so that I don't have to type it everytime I reopen terminal. 3) Create a table named Users in console.aws.amazon.com/dynamodb/home 4) Run the project: scala -cp $CLASSPATH sampleDB.scala
About
A simple example of how to use DynamoDB in Scala
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published