-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature | Ability to add a cover image to an article #7
Comments
Hey, can I try this? |
Sure, please discuss your approach here before starting dev |
@RahulSingh9131 - This has been assigned to you. Would be grateful if could estimate the timeline for this one and share it. |
i saw this now , sure i will share my approach and tell the timeline for completing it. |
A fixed w:h ratio with object cover property. Image drap and deop or select and stored in cloudinary or aws s3, generated link is got and rendered. |
@techypants did you already fixed this issue? |
no not yet, suggested a method |
ok thanks, i will try this |
@aadeshkulkarni hey i went ahead and added cloudinary for the image upload feature, and also added coverImage field in the Post collection ,after running migartion command for the prisma i am getting this error on terminal, do i need to add DATABASE_URL in .env.example file to solve this issue? |
Yes. You would need to create 2 things to use prisma/backend in your local system correctly:
Also make sure your ./frontend/src/config.ts's BACKEND_URL is pointing to |
@aadeshkulkarni i have added the DATABASE_URL from aiven.io and also update wrangler.toml file with prisma connection string, but still i am getting erros on console while trying to run prima migrate cmd. i am getting confused in enabling this. |
@RahulSingh9131 - You are editing .env.example file, instead of .env. The .env file needs to be created using .env.example as reference point. Please restart the server after doing this since HMR does not work with env changes. |
@RahulSingh9131 - Any update on this ? |
have a look at the PR , have added my cloudinary API key and secret and cloud name , so we may need a different cloudinary account where images will be stored. |
When?
What?
Challenge:
The text was updated successfully, but these errors were encountered: