Skip to content

Commit e22c5a8

Browse files
author
Clara Raubertas
committed
cloudinary config
1 parent 520a2b6 commit e22c5a8

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

sites/en/intro-to-rails/pictures.step

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,34 @@ step do
110110
Adding `unless dog.picture_url(http://github.com/:thumb).blank?` will keep your app from trying to display broken images for any dogs that haven't had pictures uploaded for them."
111111
end
112112
end
113+
114+
step do
115+
message 'Add `cloudinary.yml` to your `config` folder.'
116+
message "If you are logged in to Heroku in your browser, you should be able to download it from `http://cloudinary.com/console/cloudinary.yml`.'
117+
message "It should look something like this:"
118+
message "```ruby
119+
---
120+
development:
121+
cloud_name: [something]
122+
api_key: [something]
123+
api_secret: [something]
124+
enhance_image_tag: true
125+
static_image_support: false
126+
production:
127+
cloud_name: [something]
128+
api_key: [something]
129+
api_secret: [something]
130+
enhance_image_tag: true
131+
static_image_support: true
132+
test:
133+
cloud_name: [something]
134+
api_key: [something]
135+
api_secret: [something]
136+
enhance_image_tag: true
137+
static_image_support: false
138+
```'
139+
end
140+
113141
step do
114142
message 'Commit your changes and push to heroku:'
115143
console 'git commit -a -m "added pictures to dogs"'

0 commit comments

Comments
 (0)