janel2411 / tradewise

https://tradewise-orpin.vercel.app
0 stars 0 forks source link

Images Not Showing on Deployed App on Render #4

Closed janel2411 closed 3 months ago

janel2411 commented 4 months ago

Description Images and other static files (eg whole React Quiz App feature) are not showing on the deployed application on Render, but they are visible on the development server. The issue needs to be resolved to ensure proper display of images in production.

Screenshots Development Server (Working):

Screenshot 2024-07-01 at 12 39 48 PM

Deployed Server on Render (Not Working):

Screenshot 2024-07-01 at 12 37 59 PM

Steps to Reproduce Deploy the Django application on Render. Navigate to the homepage or any other page where images should be displayed. Navigate to the Quiz tab.

Expected Behaviour: Images should be displayed correctly on the deployed application, as they are on the development server. Quiz 1 should be live and functional.

Actual Behaviour: Images and quiz app, which are all loaded using static files, are not displayed on the deployed application.

kkaizee commented 3 months ago

Tried deploying with a different host, Vercel, and faced this error.

Error: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings.

kkaizee commented 3 months ago

Fixed