Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Bulletin board application using Amazon Dynamo DB
PHP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
dietcake @ 3d14af3
lib
script
vendor
.gitignore
.gitmodules
README.md

README.md

DynamoDB example

Bulletin board application using Amazon Dynamo DB.

Requirements

  • PHP >= 5.2.0
  • extensions: json, curl

Install

  1. Set up your core.php and aws_key.php:

    $ cd app/config/
    $ cp core_production.php core.php
    $ cp aws_key_example.php aws_key.php
    
  2. Edit your AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY to use the Amazon Web Services.

  3. Get the temporary credentials using AWS Security Token Service:

    $ cd dynamo-example
    $ ./script/sts-get-key
    

    Note: The temporary credentials expire every hour in this example.

  4. Edit your httpd.conf:

    # dynamodb-example
    <VirtualHost *:80>
        ServerName dynamodb.example.jp
        DocumentRoot /home/example/dynamodb-example/app/webroot
        <Directory /home/example/dynamodb-example/app/webroot>
            Order Allow,Deny
            Allow from all
            Options FollowSymlinks
            AllowOverride All
        </Directory>
    </VirtualHost>
    
  5. Restart your httpd service and you can access your dynamodb-example.

License

The MIT License

Copyright (c) 2012 Tatsuya Tsuruoka

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.