<img src=“https://travis-ci.org/marr/localpic2.svg?branch=master” alt=“Build Status” />
To get up and running, create a config/secrets.yml
file containing your S3 bucket/keys:
development: secret_key_base: xxx s3_access_key_id: xxx s3_secret: xxx s3_bucket: xxx s3_region: xxx
Test out the api with something like this: curl -F "picture[title]=mountain" -F "picture[image]=@../Pictures/panorama.jpg;type=image/jpeg" http://0.0.0.0:3000/api/v1/pictures
To Generate an integration test run: rails g integration_test todo