Skip to content

aliyun/alicloud-oss-rails-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alicloud OSS Rails Demo

A rails app demo for (the powerful) OSS Ruby SDK.

Features included:

  • Show a list of buckets
  • Show a list of objects in a bucket
  • Upload a object by POSTing directly to OSS
  • Download a object by click link

Getting started

Run in your terminal:

git clone [THIS-REPO]
cd oss-manager
bundle install
mv config/secrets.yml.example config/secrets.yml
# Fill your OSS credentials in config/secrets.yml
./bin/rails server
# visit http://localhost:3000/buckets/

More