Load template externally #11

Closed
opened 2021-04-14 18:51:20 +02:00 by FWDekker · 1 comment
Owner

You know what absolutely sucks? The fact that whenever I update this template and fix a critical bug, I then have to re-deploy all my other tools. What I should do instead is make the tools load it from static or api, and then request the latest version of the major version. That way, when I do a breaking change, I have to update the applications manually, but I should just prevent that from happening by making a good API, duh.

Anyway, the tools just include the latest version given the major version, and then I'm happy.

You know what absolutely sucks? The fact that whenever I update this template and fix a critical bug, I then have to re-deploy all my other tools. What I should do instead is make the tools load it from static or api, and then request the latest version of the major version. That way, when I do a breaking change, I have to update the applications manually, but I should just prevent that from happening by making a good API, duh. Anyway, the tools just include the latest version given the major version, and then I'm happy.
FWDekker added the
tooling
label 2021-04-14 18:51:20 +02:00
FWDekker self-assigned this 2021-04-14 18:51:20 +02:00
Author
Owner

Done! They are now hosted on static.fwdekker.com. Deployment automatically puts it in the right directory so that "v1.x.x" always refers to the latest patch of that major version, so other parts of the website can simply import that one and fixes will apply automatically. Same goes for CSS. Files are pretty small so no need to worry about having a lot of folders for outdated versions.

Done! They are now hosted on static.fwdekker.com. Deployment automatically puts it in the right directory so that "v1.x.x" always refers to the latest patch of that major version, so other parts of the website can simply import that one and fixes will apply automatically. Same goes for CSS. Files are pretty small so no need to worry about having a lot of folders for outdated versions.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fwdekker.com/template#11
No description provided.