NPM Version: 6.14.11:
[/details
Github link: GitHub - AkshayKumar007/portfolio-v1-api
I’m trying to use the strapi-provider-upload-cloudinary plugin to upload my media to cloudinary. I have set the .env file and added config/plugins.js in my strapi application. There is no error or warning message in my terminal. The strapi app restarts successfully but the media isn’t transfered to cloudinary. What am I missing. I followed the docs but couldn’t get it working. Any help would be appreciated. Thank you.
]
To connect to cloudinary you only need to modify
./config/plugins.js
You do it right.
Ok.
Last question:
Did you create .env file at the root of your project?
Yes sir. It is there. Since it’s not a good idea to share it I have added it to the .gitignore.
It’s placed in root directory of project. In fact I have tried all the below commands but non of them worked,
ENV_PATH=~/path-to-directory/portfolio_v1-api/.env npm run start
ENV_PATH=~/path-to-directory/portfolio_v1-api/.env npm run develop
I have added .env in github repo for your reference. Kindly look into this as my project is stranded because of this issue. may lose marks in my assignment.
for example, i have cloudinary account with some image from strapi provider upload before. My question is, if i have to start a new create strapi app and then connect the strapi provider upload with the token/key from cloudinary before, Is the Media Library going to generate the image/media automatically from cloudinary?