Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 58656e5

Browse files
authored
Merge pull request #48 from sdsc-ordes/refactor/rename-to-chembord
refactor: rename chemboard to chembord
2 parents 7bd0f43 + 869abe0 commit 58656e5

15 files changed

Lines changed: 38 additions & 38 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PUBLIC_QLEVER_UI_URL=https://catplus.swisscustodian.ch/default
33
PUBLIC_CATPLUS_ONTOLOGY_URL=https://sdsc-ordes.github.io/catplus-ontology/
44
PUBLIC_SWISSCAT_URL=https://www.epfl.ch/research/facilities/swisscat/
55
PUBLIC_SDSC_URL=https://www.datascience.ch/
6-
PUBLIC_CHEMBOARD_GITHUB_URL=https://github.com/sdsc-ordes/catplus-chemboard.git
6+
PUBLIC_CHEMBORD_GITHUB_URL=https://github.com/sdsc-ordes/catplus-chembord.git
77

88
# Qlever Access
99
QLEVER_API_URL=https://catplus.swisscustodian.ch/sparql/default/
@@ -16,7 +16,7 @@ AWS_ACCESS_KEY_ID=
1616
AWS_SECRET_ACCESS_KEY=
1717

1818
# Sveltekit Configuration
19-
BASE_PATH=/chemboard
19+
BASE_PATH=/chembord
2020
ORIGIN=http://localhost:3000
2121
PROTOCOL_HEADER=x-forwarded-proto
2222
ADDRESS_HEADER=True-Client-IP

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ jobs:
4040
# Only push the image if the event is a 'push' (to main or a tag).
4141
push: ${{ github.event_name == 'push' }}
4242
tags: |
43-
ghcr.io/sdsc-ordes/catplus-chemboard:latest
44-
ghcr.io/sdsc-ordes/catplus-chemboard:${{ github.sha }}
43+
ghcr.io/sdsc-ordes/catplus-chembord:latest
44+
ghcr.io/sdsc-ordes/catplus-chembord:${{ github.sha }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Catplus Chemboard
1+
# Catplus Chembord
22

33
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
44

@@ -19,15 +19,15 @@ cp .env.example .env
1919
2020
Then let docker run the container with variables loaded from the env file:
2121
```bash
22-
docker run -p 3000:3000 --env-file .env ghcr.io/sdsc-ordes/catplus-chemboard:latest
22+
docker run -p 3000:3000 --env-file .env ghcr.io/sdsc-ordes/catplus-chembord:latest
2323
```
2424

2525
## Development Environment
2626

2727
### Pre-requisites
2828

2929
The development setup requires the following:
30-
* nix
30+
* nix
3131
* just
3232

3333
Additionally, we recommend using direnv to automatically activate the development environment when entering the project directory.

src/lib/components/Footer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</div>
2222

2323
<p class="text-sm text-surface-500 dark:text-surface-400">
24-
Chemboard 2025
24+
Chembord 2025
2525
</p>
2626

2727
</footer>

src/lib/components/Header.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<a href="{base}/search" class="flex items-center mx-4 gap-x-2"><Search size={20} />Search</a>
2121
<a href="{base}/data" class="flex items-center mx-4 gap-x-2"><Database size={20} />Data</a>
2222
{/snippet}
23-
<span class="text-2xl font-bold">HT Chemboard</span>
23+
<span class="text-2xl font-bold">HT Chembord</span>
2424
{#snippet trail()}
25-
<a href="{publicConfig.PUBLIC_CHEMBOARD_GITHUB_URL}"
25+
<a href="{publicConfig.PUBLIC_CHEMBORD_GITHUB_URL}"
2626
target="_blank" rel="noopener" class="opacity-75 hover:opacity-100 transition-opacity">
2727
<img
2828
src="{base}/github-mark.png"

src/lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const publicConfig = {
123123
PUBLIC_RESULTS_PER_PAGE: parseInt(publicEnv.PUBLIC_RESULTS_PER_PAGE || process.env.PUBLIC_RESULTS_PER_PAGE),
124124
PUBLIC_SWISSCAT_URL: publicEnv.PUBLIC_SWISSCAT_URL || process.env.PUBLIC_SWISSCAT_URL,
125125
PUBLIC_SDSC_URL: publicEnv.PUBLIC_SDSC_URL || process.env.PUBLIC_SDSC_URL,
126-
PUBLIC_CHEMBOARD_GITHUB_URL: publicEnv.PUBLIC_CHEMBOARD_GITHUB_URL || process.env.PUBLIC_CHEMBOARD_GITHUB_URL,
126+
PUBLIC_CHEMBORD_GITHUB_URL: publicEnv.PUBLIC_CHEMBORD_GITHUB_URL || process.env.PUBLIC_CHEMBORD_GITHUB_URL,
127127
}
128128

129129
export function validatePublicConfiguration(): void {
@@ -133,7 +133,7 @@ export function validatePublicConfiguration(): void {
133133
'PUBLIC_RESULTS_PER_PAGE',
134134
'PUBLIC_SWISSCAT_URL',
135135
'PUBLIC_SDSC_URL',
136-
'PUBLIC_CHEMBOARD_GITHUB_URL'
136+
'PUBLIC_CHEMBORD_GITHUB_URL'
137137
];
138138

139139
const missingVars: string[] = [];

svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const config = {
1010
kit: {
1111
adapter: adapter(),
1212
paths: {
13-
base: '/chemboard',
13+
base: '/chembord',
1414
},
1515
csrf: {
1616
checkOrigin: false

tools/deploy/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CatPlus ChemBoard Kubernetes Deployment
1+
# CatPlus ChemBord Kubernetes Deployment
22

3-
This directory contains Kubernetes manifests for deploying catplus-chemboard using [ytt](https://carvel.dev/ytt/).
3+
This directory contains Kubernetes manifests for deploying catplus-chembord using [ytt](https://carvel.dev/ytt/).
44

55
## Quick Start
66

@@ -33,19 +33,19 @@ Define `values.yaml` for your deployment, for example:
3333

3434
#@data/values
3535
---
36-
name: catplus-chemboard
36+
name: catplus-chembord
3737
version: latest
38-
namespace: chemboard
38+
namespace: chembord
3939

4040
image:
41-
repository: ghcr.io/sdsc-ordes/catplus-chemboard
41+
repository: ghcr.io/sdsc-ordes/catplus-chembord
4242
tag: latest
4343
pullPolicy: Always
4444

4545
s3:
4646
region: us-east-1
4747
endpoint: https://s3.custom-endpoint.example.com
48-
bucketName: catplus-chemboard-bucket
48+
bucketName: catplus-chembord-bucket
4949
accessKeyId: ''
5050
secretAccessKey: ''
5151

tools/deploy/schema.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#@data/values-schema
2-
#@schema/desc "Deployment schema for the CAT+ ChemBoard frontend"
2+
#@schema/desc "Deployment schema for the CAT+ ChemBord frontend"
33
---
4-
name: 'catplus-chemboard'
4+
name: 'catplus-chembord'
55
version: 'latest'
6-
namespace: 'chemboard'
6+
namespace: 'chembord'
77

88
image:
9-
repository: 'ghcr.io/sdsc-ordes/catplus-chemboard'
9+
repository: 'ghcr.io/sdsc-ordes/catplus-chembord'
1010
tag: 'latest'
1111
pullPolicy: 'Always'
1212

@@ -27,8 +27,8 @@ service:
2727
port: 80
2828

2929
app:
30-
#@schema/desc "Base path for reverse proxy deployment (e.g., '/chemboard' for path-based routing). Leave empty for root deployment."
31-
#@schema/example "/chemboard"
30+
#@schema/desc "Base path for reverse proxy deployment (e.g., '/chembord' for path-based routing). Leave empty for root deployment."
31+
#@schema/example "/chembord"
3232
basePath: ""
3333
#@schema/desc "Absolute url of the instance"
3434
#@schema/example "http://localhost:3000"
@@ -46,8 +46,8 @@ app:
4646
#@schema/example "https://www.datascience.ch/"
4747
sdscUrl: ""
4848
#@schema/desc "URL to SwissCat Project Page."
49-
#@schema/example "https://github.com/sdsc-ordes/catplus-chemboard.git"
50-
chemboardGithubUrl: ""
49+
#@schema/example "https://github.com/sdsc-ordes/catplus-chembord.git"
50+
chembordGithubUrl: ""
5151
#@schema/desc "Results per page"
5252
resultsPerPage: "10"
5353
#@schema/desc "Catplus Ontology Homepage Url"
@@ -58,7 +58,7 @@ ingress:
5858
#@schema/desc "Whether to create an Ingress resource"
5959
enabled: true
6060
#@schema/desc "Hostname for the ingress"
61-
#@schema/example "chemboard.example.com"
61+
#@schema/example "chembord.example.com"
6262
host: ''
6363
#@schema/desc "Path prefix for the ingress rule"
6464
path: '/'

tools/deploy/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ data:
2020
RESULTS_PER_PAGE: #@ data.values.app.resultsPerPage
2121
SWISSCAT_URL: #@ data.values.app.swisscatUrl
2222
SDSC_URL: #@ data.values.app.sdscUrl
23-
CHEMBOARD_GITHUB_URL: #@ data.values.app.chemboardGithubUrl
23+
CHEMBORD_GITHUB_URL: #@ data.values.app.chembordGithubUrl

0 commit comments

Comments
 (0)