Skip to content

marr/localpic2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localpic example from RESTful Rails Development

<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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published