How can I set up cloudinary.yml using environment variables?

Comments

3 comments

  • Avatar
    Itay Taragano

    Please see the following for the information about configuring environment variables on Heroku:

    https://devcenter.heroku.com/articles/config-vars

    0
    Comment actions Permalink
  • Avatar
    Kevin Kelly

    Thank you. I do know how to set them up on Heroku. I figured that out. But I don't know how the cloudinary.yml file should look. I'm also having trouble figuring out how to set the environment variable on my development machine.

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    You can see a sample of the yml file from your console.

    Note that you can use the environment variable globally with something like export CLOUDINARY_URL=...

    For more information:

    https://devcenter.heroku.com/articles/cloudinary#local-environment-setup

    0
    Comment actions Permalink

Please sign in to leave a comment.