question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FE] Cellxgene FE serves static assets from `/static/cellxgene/*`

See original GitHub issue

Given the brand merge, both cellxgene and DP will now live on cellxgene.cziscience.com.

To avoid static assets from DP and cellxgene being accidentally served from the same route, we need to do the following:

  1. Change cellxgene’s Webpack config to serve all static files (fonts, images, js, css, etc.) from /static/* to /static/cellxgene/*

E.g.,

Current:

  1. https://cellxgene.cziscience.com/static/main-90d61520926ca4c19056.js

  2. https://cellxgene.cziscience.com/static/assets/RobotoCondensed-Regular-db6d916952fb988edac1e531d47ff83a.ttf

New:

  1. https://cellxgene.cziscience.com/static/cellxgene/main-90d61520926ca4c19056.js

  2. https://cellxgene.cziscience.com/static/cellxgene/assets/RobotoCondensed-Regular-db6d916952fb988edac1e531d47ff83a.ttf

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tihuancommented, Aug 19, 2020

@seve I think we can still work on this one, because the solution for bug https://github.com/chanzuckerberg/cellxgene/issues/1783 would apply regardless of the static asset path we choose 😄

Thank you!

0reactions
tihuancommented, Aug 20, 2020

@seve ACTUALLY, plot change. With the new solution that Bruce provides, we can close #1762 now.

But #1783 will still be a blocker for https://github.com/chanzuckerberg/single-cell-infra/pull/144!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CELL×GENE | Documentation - CZ CELLxGENE
CZ CELLxGENE Annotate is intended to be used by researchers on their local machines. In cases where collaborators are not comfortable installing Annotate,...
Read more >
bin/build-client errors out in webpack · Issue #150 - GitHub
I did a clean install (cloned master) following the instructions on the new cellxgene README. It fails to build the client on Ubuntu...
Read more >
CellexalVR: A virtual reality platform to visualize and analyze ...
Thevelocityofeachcellisshownasan animated process where an ... Corvo: Visualizing CellxGene Single-Cell Datasets in Virtual Reality.
Read more >
Simple Index
acabim-common-services-cas ... add-service · add-soham · add-static-resources-plugin ... amsterdam-airflow-postgres-files-operator
Read more >
Index of /pypi/json/
... 16:06 8964 auto-esn 16-Dec-2022 00:04 28678 auto-fe 27-Oct-2022 ... 08:09 305145 aws-prototyping-sdk-static-website 24-Dec-2022 08:09 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found