You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sites/en/intro-to-rails/pictures.step
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,34 @@ step do
110
110
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."
111
111
end
112
112
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
+
113
141
step do
114
142
message 'Commit your changes and push to heroku:'
115
143
console 'git commit -a -m "added pictures to dogs"'
0 commit comments