Giter VIP home page Giter VIP logo

meteor-slingshot's Introduction

meteor-slingshot sample with clientside-image-manipulation

Steps

  1. Add packages

    • accounts-password
    • accounts-ui
    • edgee:slingshot
    • ccorcos:clientside-image-manipulation
  2. Create AWS S3 bucket

    • Update bucket Permissions for Everyone for List
    • Use Security Details and save KeyID and AccessKey.
  3. Create a config.json with KeyID and AccessKey

{
  "AWSAccessKeyId": "PUT YOUR ACCESS KEY ID HERE",
  "AWSSecretAccessKey": "PUT YOUR SECRET ACCESS KEY HERE"
}
  1. Update slingshot.js, value 'bucket' with name from AWS S3

  2. Run meteor using ./runMeteorSettings.sh

meteor-slingshot's People

Contributors

bartonhammond avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hynesip chansdad

meteor-slingshot's Issues

Getting 400 Bad request error

Thanks for putting this together. I would appreciate if you could please help me solve the issue.

I am getting "POST https://my-bucket.s3.amazonaws.com/ 400 (Bad Request)"

I did following

  • Updated slingshot.js, value 'bucket' with name from AWS S3.
  • Updated AWS key and secret.
  • Updated bucket Permissions for Everyone for List.
  • Updated region to "ap-southeast-1" for Singapore.
  • Updated xml Amazon CORS Configuration to following.

<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>PUT</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>HEAD</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*</AllowedHeader> </CORSRule> </CORSConfiguration>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.