-
Notifications
You must be signed in to change notification settings - Fork 0
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
Architecture.md #1331
base: main
Are you sure you want to change the base?
Architecture.md #1331
Conversation
0b29b7e
to
cf4d0fa
Compare
This is gold. Truly so helpful! |
websites and various staging environments, provides more styling rules, and adds | ||
additional features and utilities. | ||
|
||
The final layer is the `*-site` package. This is where the final set of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do eda
and components
fit into this grand organization? Basically just libraries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I added some words to that effect.
specific path are all routed to the HTML file. The javascript code will | ||
dynamically determine what to display on the screen, based on the URL. | ||
|
||
For example, you might have an Apache mod_rewrite rule that looks like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps because I am not familiar with Apache mod_rewrite, but I lost you here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to clarify. Take a look at
Lines 40 to 46 in c44e50d
This rule tells the Apache web server to serve the file `index.html` for _any_ | |
url that starts with `/app`. This makes it possible to link to a subpage of the | |
website, and have the browser load the "skeleton" html defined in `index.html`, | |
which will then load the javascript and css code. | |
When running a local dev site (using a command like `yarn nx start @veupathdb/genomics-site`), a local webpack-dev server starts up and does | |
something similar, in terms of routing. |
An attempt to capture the high-level workings of our websites