Comments (3)
@srggrs Thanks! This error,(which does not show up in either the FF or Chrome debugger) has been fixed in my working directory and will be updated this week.
I assume you can simply edit js9support.css and change the paths as a work-around ... but let me know if that presents a problem.
cc: @miguelcarcamov
from js9.
my understanding is that compiling JS9 as suggested in the documentation is meant for setting up the assets in the "build" folder.
Yes, JS9 stuff gets installed in two places:
-
binaries and scripts get installed somewhere in the *nix system so that they are accessible to the js9Helper (i.e., accessible to whichever user runs the helper). Without --prefix, your binaries went into the default /usr/local
-
web stuff gets installed in a directory located in a web server's directory structure, to service the JS9-enabled web page
It's great that whitenoise found the incorrect links, they have been wrong for about 7 years ...
from js9.
@ericmandel no worries. It's not a big deal! Just trying to understand how I can "productionise" JS9 assets: my understanding is that compiling JS9 as suggested in the documentation is meant for setting up the assets in the "build" folder. Then ideally you have a script that would move specific files (e.g. js9.css
) in a "static_prod" folder to serve the production server. In doing so I'd would expect the references to other files would be fixed (e.g. if I copy the css file, font and images folders, I'd expect all the references are as the build folder), so that I don't need to manually change them 😅 .
At the end it is just convenient if all the references are right so I can set up an automatic CI/CD pipeline for my app with JS9.
Thank you so much for looking into that 😄
from js9.
Related Issues (20)
- Conflicting CSS HOT 3
- Loading files from the server with the node helper HOT 14
- Javascript API HOT 2
- Load multi extension tile compressed fits report error. HOT 9
- JS9.Load("file", {ra: 0, dec: 0}) doesn't pan HOT 3
- Unable to Load FITS files with NaN values HOT 12
- JS9 ERROR: cannot load: ../astroemw.wasm ... please check the url/pathname HOT 3
- Multi Extension FITs mosaic display HOT 12
- Fits Image Display Area + Rotation HOT 10
- JS9 potentially crashing on ARM64 architecture HOT 8
- JS9.ChangeRegions() to change position incorrect after zooming image HOT 5
- Incorporating JS9 (and pyjs9) into a JupyterLab -> Kubernetes/Docker system HOT 2
- Release with bundled minimist bump? HOT 3
- Q: is there a query parameters to load image from CORS server? HOT 16
- ImageOpts.flip does nothing HOT 3
- Load image from memory. HOT 4
- End of JS9 development: July 1, 2022 HOT 2
- Preload regions with image HOT 3
- unable to open some files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js9.