Skip to content
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 Request] Deploying a dash app with GIFs #70

Closed
Pranshul-Sardana opened this issue Nov 6, 2022 · 4 comments
Closed

[Feature Request] Deploying a dash app with GIFs #70

Pranshul-Sardana opened this issue Nov 6, 2022 · 4 comments

Comments

@Pranshul-Sardana
Copy link

Is your feature request related to a problem? Please describe.
I work with video datasets and I don't know about a good way of deploying videos/gifs using dash. I am using dash-gif-component for creating a dash app with GIFs and I tried dash-tools advanced template. The app was working locally but the path was broken when deployed on Heroku.

Is there a way to deploy a GIF app to Heroku?

Additional context
Add any other context or screenshots about the feature request here.

@Pranshul-Sardana Pranshul-Sardana changed the title [Feature Request] [Feature Request] Deploying a dash app with GIFs Nov 6, 2022
@andrew-hossack
Copy link
Owner

Hey @Pranshul-Sardana you will need to add a "static" directory to include gifs and images. Check out https://dash.plotly.com/dash-enterprise/static-assets

@Pranshul-Sardana
Copy link
Author

Thanks for sharing it. I am already keeping my png and gif files in assets and its subfolders. This is working locally but stops working when I deploy it to Heroku.

@andrew-hossack
Copy link
Owner

Check out https://community.plotly.com/t/deploying-your-dash-app-to-heroku-the-magical-guide/46723 under HEROKU PITFALL: Serving static files does not work for a potential solution!

@andrew-hossack
Copy link
Owner

Closed as this issue isn't dashtools related (related to plotly dash)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants