This commit is contained in:
Dave Lane 2024-08-30 15:52:25 +12:00
parent e3e685f0f8
commit 86d436fd47
4 changed files with 17 additions and 1 deletions

4
.gitignore vendored
View file

@ -19,3 +19,7 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# app
.*.kate-swap
fonts/*.zip

8
Plans.md Normal file
View file

@ -0,0 +1,8 @@
# Plans for Webservices App
High priority:
* filtering of all properties like Categories, Analogues, Licenses, Statuses, Hosts, and Affiliations.
* a 'Technology' view (overlay), addressable by URL (i.e. going to, say, http://localhost:5173/ServiceName brings up the site with ServiceName shown in 'Technology' view, allowing people to reference a specific technology of interest to others).
* split out all constants (arrays) into separate files.
* split out functions into svelte modules.

View file

@ -22,3 +22,7 @@ services:
ports:
# change the port on 127.0.0.1 to ensure it's not already in use on the host.
- 127.0.0.1:5050:5050
# this stanza allows your container to find the site with the source data without needing to have
# dns set up properly. Comment it out if you don't need it.
extra_hosts:
- "static.magnificent.nz:203.118.159.63"

View file

@ -32,7 +32,7 @@
if (tech.hasOwnProperty('analogues') && tech.analogues.constructor === Array) {
tech.analogues.forEach(function (analogue, index) {
if (analogue_list.hasOwnProperty(analogue)) analogue_list[analogue]++;
s else analogue_list[analogue] = 1;
else analogue_list[analogue] = 1;
});
}
if (tech.hasOwnProperty('license')) {