Skip to content
Jakub Žitný edited this page Mar 4, 2017 · 2 revisions

Running the example application

The example application is a simple and quick way to see evaporate.js work. There are some basic steps needed to make it run locally:

  1. Install Google App Engine for Python found here (The example app is GAE ready and it is run using the GAE dev server)

  2. Set your AWS Key and S3 bucket in example/evaporate_example.html. This configuration does not use Md5 Digest verfication.

var promise = Evaporate.create({
    signerUrl: '/sign_auth', // Do not change this in the example app
    aws_key: 'your aws_key here',
    bucket: 'your s3 bucket name here',
});
  1. Set your AWS Secret Key in example/awsv4_signing_example.py if you are using the V4 signature signing process. The example folder includes sample code for the V2 signature signing process as well as examples in other languages.

    NOTE: When AWS responds with The request signature we calculated does not match the signature you provided. Check your key and signing method, you have not correctly signed the request. For help with creating a signing method, the best forum for help would be stackoverflow or AWS Support.

  2. Run it! (From root of Evaporate directory). and visit 'http://localhost:8080/'

$ dev_appserver.py app.yaml

More examples