Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Cloudinary Ruby and Rails Server

WIP: This is source code for a course under development.

Setting up

Basic sample for Rails

This sample application demonstrates the usage of Cloudinary's view helpers (e.g. cl_image_tag) to apply various image transformations inside Rails views.

Setting up

  1. Add gem 'cloudinary' to Gemfile.
  2. Run bundle install in project directory to bring all the required GEMs.
  3. Download cloudinary.yml for your account from Cloudinary's Management Console or by using this direct link.
  4. Place the downloaded cloudinary.yml file into the config directory of the project.
  5. Execute server upload
rake server_upload
  1. In the project directory, run bundle install to install all the required dependencies.
  2. Run rails server to start the development server.
  3. Open the sample page in a browser: http://localhost:3000