Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
1e39c38
wip feature
Dec 20, 2023
2b7bbd2
frontpage wip
Dec 20, 2023
96a0631
banner rework
Jan 24, 2024
6ff7139
frontpage cleanup
Jan 26, 2024
360648f
Merge pull request #163 from dbpedia/master
holycrab13 Jan 26, 2024
8f1c7a6
Merge pull request #164 from dbpedia/new-dev
holycrab13 Jan 26, 2024
2c8f25c
navbar and wizard fixes
Jan 26, 2024
da9e6fc
artifact facets fix
Jan 31, 2024
c8294d8
added cors header to readable resources
Feb 1, 2024
0ce854a
better accept header parsing
Feb 1, 2024
5ef5b36
duplicate artifact displayed on account page fix
Feb 7, 2024
1f53e80
preventing newline uri crashes
Feb 15, 2024
e8cef0e
some sparql editor fixes
Feb 15, 2024
b667d81
new font, ui fixes
Feb 17, 2024
0b235cc
entity card ui fixes
Feb 17, 2024
bb3f630
font adjustments
Feb 17, 2024
8f7f061
logging for debug
Feb 19, 2024
517cf00
logging for debug
Feb 19, 2024
4746dc7
logging for debug
Feb 19, 2024
c7274ab
dropdown fixed when logout
holycrab13 May 15, 2024
729944f
package updates
May 15, 2024
bb4f594
Merge branch 'dev' of github.com:dbpedia/databus into dev
May 15, 2024
c3a8439
merged package updates and collection widget fix
May 15, 2024
a7d2fd1
fixed sparql issue
Jun 19, 2024
213f17d
new config params for gstore in dockerfile, affects only dev env
manonthegithub Jun 25, 2024
9638c06
metrics endpoints and indexer update
holycrab13 Jan 29, 2025
c38cbaa
register api / indexing fixes for accounts
holycrab13 Jan 30, 2025
fb1127e
write/indexing fixes for group & artifact
holycrab13 Jan 31, 2025
4289eea
bugfixes and missing impls for accounts
holycrab13 Jan 31, 2025
e62b9d7
bugfixes and dockerisation
holycrab13 Feb 12, 2025
a10180f
role based access
holycrab13 Apr 9, 2025
137f331
wait for gstore added
Apr 9, 2025
d7d4dce
logging for startup bug
Apr 9, 2025
26339fc
logging for startup bug
Apr 9, 2025
89ec2ef
moved validation step after cluster start
holycrab13 Apr 10, 2025
38f7d51
merged
holycrab13 Apr 10, 2025
56aa07d
fixed validate
holycrab13 Apr 10, 2025
ec7b757
bugfix in auth config
holycrab13 Apr 16, 2025
2b6d4d9
bugfix in auth config
holycrab13 Apr 16, 2025
f7c10e4
bugfix in auth config
holycrab13 Apr 16, 2025
ba7a917
bugfix in auth config
holycrab13 Apr 16, 2025
6e9b55a
bugfix in auth config
holycrab13 Apr 16, 2025
7ad1e20
bugfix in auth config
holycrab13 Apr 16, 2025
d232b26
logout in private mode fix
holycrab13 Apr 17, 2025
13f4fe1
removed caddy from docker image - needs to be handled separat
holycrab13 Apr 17, 2025
430719c
fixes for account registration bugs
holycrab13 Apr 28, 2025
9264c7a
proxy for oidc config, fix for resource deletion
holycrab13 Apr 29, 2025
1c08e25
multi account initial
holycrab13 May 21, 2025
1a9a654
adding accounts and keys
holycrab13 May 21, 2025
7881690
backup
holycrab13 May 21, 2025
7ef5848
docu and cleanup steps
holycrab13 May 26, 2025
cea2e7a
merged multi-account
holycrab13 May 26, 2025
cf064ec
initial
holycrab13 Jun 4, 2025
e7111ae
wizard
Jun 16, 2025
1e3329d
multi-account updates
holycrab13 Jul 2, 2025
597d685
small cleanup and UI polish
holycrab13 Jul 3, 2025
a7d1a68
Merge pull request #194 from dbpedia/multiacc
holycrab13 Jul 3, 2025
e70aa7f
fixed multi-account UI bugs
holycrab13 Jul 10, 2025
7c96fb4
UX improvements for publish wizard
holycrab13 Jul 10, 2025
dd2b448
fixed: collection editor, api key usage, swagger doc
holycrab13 Jul 21, 2025
6d57f1a
tests converted to uvu, added test runner, added configurable user id…
holycrab13 Jul 31, 2025
3234357
fixes for bugs when using OIDC tokens for auth
holycrab13 Jul 31, 2025
b5b4935
trying to fix Dockerfile to autogenerate missing package.lock files
JJ-Author Aug 8, 2025
6112fa8
trying to fix Dockerfile to autogenerate missing package.lock files
JJ-Author Aug 8, 2025
7d6697e
deployment compose added, user integrity check added
holycrab13 Aug 11, 2025
41ec476
Merge branch 'dev' of github.com:dbpedia/databus into dev
holycrab13 Aug 11, 2025
5bbdeca
fixed error in dockerfile
holycrab13 Aug 11, 2025
d199721
collections not showing on first ever load fixed, accounts not indexi…
holycrab13 Aug 13, 2025
7afd8e3
fixed api key frontend bug, fixed old collections not showing up when…
holycrab13 Aug 18, 2025
aaa7435
added collection tests for CRUD and SPARQL retrieval, front end fix f…
holycrab13 Sep 8, 2025
60cd250
added newline to non-jsonld LD format responses, added test for TURTL…
holycrab13 Sep 8, 2025
5af2883
added the list of artifacts in a group and versions in an artifact fo…
holycrab13 Sep 8, 2025
bc9b080
webpack for issue 167
holycrab13 Sep 10, 2025
683edfe
added account name to collection list retrieval
Sep 10, 2025
bf39990
initialize isHidden state of local collection working copies
Sep 10, 2025
e8c2c86
webpack for previous commit
Sep 10, 2025
d103bab
only set isHidden for local if not set
Sep 10, 2025
16e3595
fixed deletion of legacy groups/artifacts
holycrab13 Sep 16, 2025
294931c
title validator fixed, content variant url encoding fixed
holycrab13 Oct 27, 2025
617d734
updated the swagger api and api generator, fixed an indexer bug
holycrab13 Oct 29, 2025
e9cdec2
fixed content variant bug in publish wizard
holycrab13 Oct 29, 2025
5adf9f1
fixed broken content variant delete button
holycrab13 Oct 29, 2025
5f3d4d5
fixed bulk insert in publish editor
holycrab13 Oct 29, 2025
0e8983f
added userdb migration to id pf, fixed publish wizard issues
holycrab13 Oct 29, 2025
ecb0b24
merged dev into master
holycrab13 Nov 6, 2025
62cbdc1
Action to generate files for Model docu with PHP magic
holycrab13 Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ server/index
server/keypair
server/sqlite
.git
node_modules
node_modules
server/node_modules

3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
DATABUS_RESOURCE_BASE_URL=http://localhost:3000
# do not use qoutation marks for the value here and no trailing space
DATABUS_NAME=My Local Databus
DATABUS_ABSTRACT=A local instance for development
DATABUS_ORG_ICON=
DATABUS_BANNER_COLOR= # Default is #81b8b2
DATABUS_TITLE_COLOR= # Default is white
# OIDC SETTINGS - Only use these values for testing and enter your own OIDC provider values
DATABUS_OIDC_ISSUER_BASE_URL=https://kilt.eu.auth0.com
DATABUS_OIDC_CLIENT_ID=K5PCEOr7OJGBGU9xN7SvBrX1RWDs4S4n
DATABUS_OIDC_SECRET=LiL_X1tzwRmReU3RO7kBlBdDopmVEGf4gj5Ve8No16kifyi3weXK7u6IS1Ttpl_q


DATABUS_PRIVATE_MODE=false

####### DATABASE SETTINGS #######
Expand Down
84 changes: 84 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Start Databus With AUTH0",
"program": "${workspaceFolder}/server/www",
"cwd": "${workspaceFolder}/server",
"runtimeArgs": [
"--trace-warnings"
],
"env": {
"DATABUS_RESOURCE_BASE_URL": "http://localhost:3000",
"DATABUS_NAME": "Local Databus",
"DATABUS_ABSTRACT": "Go ham",
"DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png",
"DATABUS_BANNER_COLOR": "\\#5b798d",
"DATABUS_DATABASE_URL": "http://localhost:3002",
"DATABUS_OIDC_ISSUER_BASE_URL": "https://kilt.eu.auth0.com",
"DATABUS_OIDC_CLIENT_ID": "e9eOLS9IkGvuyBl7cBorWUQTNgbqejhc",
"DATABUS_OIDC_REQUIRED_ROLE": "",
"DATABUS_OIDC_SECRET": "0RVo9jMnbhPnkR6Ttz0aXQRTcRuSz5DpqyUEjbbcbgRuGA4rbwCjnHM2cOlTrv9q",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Remove hardcoded secrets from version control.

The launch.json file contains hardcoded OIDC secrets that should not be committed to version control. These secrets provide authentication access and could be misused if exposed.

Replace hardcoded secrets with references to environment variables or a local .env file:

-        "DATABUS_OIDC_SECRET": "0RVo9jMnbhPnkR6Ttz0aXQRTcRuSz5DpqyUEjbbcbgRuGA4rbwCjnHM2cOlTrv9q",
+        "DATABUS_OIDC_SECRET": "${env:DATABUS_OIDC_SECRET}",

Additionally, consider adding .vscode/launch.json to .gitignore and providing a .vscode/launch.json.example template instead.

Also applies to: 48-48, 75-75

🧰 Tools
🪛 Gitleaks (8.28.0)

[high] 23-23: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

(generic-api-key)

🤖 Prompt for AI Agents
.vscode/launch.json (lines 23, 48, 75): hardcoded OIDC secrets are committed;
remove the literal secret values and replace them with environment-variable
references (e.g. use an env lookup placeholder or load from process env at
runtime) so no secret appears in the file, add .vscode/launch.json to
.gitignore, and create a .vscode/launch.json.example template with placeholder
values and instructions for developers to populate their own local .env or IDE
environment variables; ensure any CI/local docs are updated to show how to set
DATABUS_OIDC_SECRET securely.

"LOOKUP_BASE_URL": "http://localhost:3004",
"DATABUS_OIDC_USER_ID_PROPERTY": "sub",
"MAX_WORKERS": "1",
"METRICS_PORT": "3001"
}
},
{
"type": "node",
"request": "launch",
"name": "Start Databus With DBpedia Community Account",
"program": "${workspaceFolder}/server/www",
"cwd": "${workspaceFolder}/server",
"runtimeArgs": [
"--trace-warnings"
],
"env": {
"DATABUS_RESOURCE_BASE_URL": "http://localhost:3000",
"DATABUS_NAME": "Local Databus",
"DATABUS_ABSTRACT": "Go ham",
"DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png",
"DATABUS_BANNER_COLOR": "\\#5b798d",
"DATABUS_DATABASE_URL": "http://localhost:3002",
"DATABUS_OIDC_ISSUER_BASE_URL": "https://auth.dbpedia.org/realms/dbpedia",
"DATABUS_OIDC_CLIENT_ID": "databus-dev",
"DATABUS_OIDC_SECRET": "O55igP05y7iMlZdhweAEUjjhBIkiu0Mq",
"DATABUS_OIDC_USER_ID_PROPERTY": "sub",
"DATABUS_OIDC_REQUIRED_ROLE": "",
"LOOKUP_BASE_URL": "http://localhost:3004",
"MAX_WORKERS": "1",
"METRICS_PORT": "3001"
}
},
{
"type": "node",
"request": "launch",
"name": "Run Tests",
"runtimeExecutable": "npm",
"runtimeArgs": [
"test"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/server",
"env": {
"DATABUS_RESOURCE_BASE_URL": "http://localhost:3000",
"DATABUS_NAME": "Local Databus",
"DATABUS_ABSTRACT": "Go ham",
"DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png",
"DATABUS_BANNER_COLOR": "#5b798d",
"DATABUS_DATABASE_URL": "http://localhost:3002",
"DATABUS_OIDC_ISSUER_BASE_URL": "https://auth.dbpedia.org/realms/dbpedia",
"DATABUS_OIDC_CLIENT_ID": "databus-dev",
"DATABUS_OIDC_SECRET": "O55igP05y7iMlZdhweAEUjjhBIkiu0Mq",
"DATABUS_OIDC_REQUIRED_ROLE": "",
"DATABUS_OIDC_USER_ID_PROPERTY": "sub",
"LOOKUP_BASE_URL": "http://localhost:3004",
"MAX_WORKERS": "1",
"METRICS_PORT": "3001"
}
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.detectIndentation": true
}
98 changes: 46 additions & 52 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,56 +1,50 @@
<<<<<<< HEAD
# Use a consistent Node.js version across build and release stages
FROM node:23-slim AS builder
=======
FROM docker.io/ubuntu:22.04
>>>>>>> master

# Install node.js, Caddy as proxy server, and java.
RUN apt-get update && \
apt-get -y install curl debian-keyring debian-archive-keyring apt-transport-https && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && \
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && \
apt-get update && \
apt-get -y install \
nodejs \
caddy \
ca-certificates-java \
openjdk-17-jdk \
openjdk-17-jre && \
rm -rf /var/lib/apt/lists/* && \
node -v && \
npm -v && \
java -version

# Disable the proxy server by default:
ENV DATABUS_PROXY_SERVER_ENABLE=false

# When using the proxy, use ACME by default:
ENV DATABUS_PROXY_SERVER_USE_ACME=true

# When not using ACME, what is the name of the own certificate file?
ENV DATABUS_PROXY_SERVER_OWN_CERT="cert.pem"

# When not using ACME, what is the name of the own certificate's key file?
ENV DATABUS_PROXY_SERVER_OWN_CERT_KEY="key.pem"

# What is the hostname of this machine, when using the proxy server?
# It is necessary to know this, in order to set up ACME etc.
# Note: the host name should be identical to DATABUS_RESOURCE_BASE_URL,
# but without specifying a port, protocol i.e. HTTP(S) etc.
ENV DATABUS_PROXY_SERVER_HOSTNAME="my-databus.org"

# Define the volume for the TLS certificate:
VOLUME /tls

COPY ./server /databus/server
COPY ./public /databus/public
COPY ./search /databus/search
COPY ./model/generated /databus/model/generated

COPY ./setup.sh /databus/setup.sh

# Set up the NPM projects:
RUN cd /databus/server && \
npm install && \
cd ../public && \
npm install
# Install Python for node-gyp (required for sqlite3 build)
RUN apt-get update && apt-get install -y python3 build-essential && \
ln -s /usr/bin/python3 /usr/bin/python && \
rm -rf /var/lib/apt/lists/*

WORKDIR /databus/server
COPY server/package*.json .
RUN --mount=type=bind,source=server/package.json,target=package.json \
--mount=type=cache,target=/root/.npm \
bash -c "if [ ! -f package-lock.json ]; then npm install --package-lock-only; fi && npm ci --omit=dev"

WORKDIR /databus/public
COPY public/package*.json .
RUN --mount=type=bind,source=public/package.json,target=package.json \
--mount=type=cache,target=/root/.npm \
bash -c "if [ ! -f package-lock.json ]; then npm install --package-lock-only; fi && npm ci --omit=dev"

WORKDIR /

# Copy source code
COPY server ./databus/server
COPY public ./databus/public
COPY search ./databus/search

# Rebuild sqlite3 in case it's a native module
# RUN cd databus/server && npm rebuild sqlite3

FROM node:23-slim AS runtime

WORKDIR /databus
ENTRYPOINT [ "/bin/bash", "./setup.sh" ]

# Install only necessary system packages
RUN apt-get update && \
apt-get install -y \
curl \
ca-certificates && \
rm -rf /var/lib/apt/lists/*

# Copy app from build stage
COPY --from=builder /databus .

# Entrypoint
ENTRYPOINT [ "/bin/bash", "./server/setup.sh" ]
33 changes: 33 additions & 0 deletions backup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

# VARIABLES

# Define a prefix for the backup filename
prefix="backup"

# Get the current date in YYYY-MM-DD format
date=$(date +%F)

# Compose the full filename with prefix and date
filename="${prefix}_${date}.tar.gz"

# Specify the local folder to compress
localFolder="/devenv/data"

# Target folder on the remote server to copy the file into
targetFolder="/path/to/remote/folder"

# Shut down the databus, adjust for stack
docker compose stop

# Create a tar.gz archive of the local folder with the composed filename
tar -czf "$filename" "$localFolder"

# Securely copy the archive to the remote server's target folder
scp "$filename" "$targetFolder"

# Remove the local tar.gz archive to clean up
rm "$filename"

# Restart the databus, adjust for stack
docker compose up -d
20 changes: 20 additions & 0 deletions deployment/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
####### DATABUS SETTINGS #######
DATA_PATH="../../databus-data"
# RESOURCE BASE URL - This should match the DNS entry pointing to your server
DATABUS_RESOURCE_BASE_URL=http://localhost:3000
# do not use qoutation marks for the value here and no trailing space
DATABUS_NAME=My Local Databus
DATABUS_ABSTRACT=A local instance for development
DATABUS_ORG_ICON=
DATABUS_BANNER_COLOR= # Default is #81b8b2
DATABUS_TITLE_COLOR= # Default is white
# OIDC SETTINGS - Only use these values for testing and enter your own OIDC provider values
DATABUS_OIDC_ISSUER_BASE_URL=https://kilt.eu.auth0.com
DATABUS_OIDC_CLIENT_ID=K5PCEOr7OJGBGU9xN7SvBrX1RWDs4S4n
DATABUS_OIDC_SECRET=LiL_X1tzwRmReU3RO7kBlBdDopmVEGf4gj5Ve8No16kifyi3weXK7u6IS1Ttpl_q
DATABUS_PRIVATE_MODE=false

####### DATABASE SETTINGS #######
VIRTUOSO_USER=dba
VIRTUOSO_PASSWORD=onlyweknow

10 changes: 10 additions & 0 deletions deployment/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# Install Instructions

## Starting a local Databus

To start a local Databus instance

```
docker compose up
```
59 changes: 59 additions & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "databus-dockerized"
services:
databus:
image: "docker.io/dbpedia/databus:dev"
ports:
- 3000:3000
- 3001:3001
environment:
DATABUS_RESOURCE_BASE_URL: ${DATABUS_RESOURCE_BASE_URL}
DATABUS_DATABASE_URL: "http://gstore:8080"
LOOKUP_BASE_URL: "http://lookup:8082"
METRICS_PORT: "3001"
DATABUS_OIDC_ISSUER_BASE_URL: ${DATABUS_OIDC_ISSUER_BASE_URL}
DATABUS_NAME: ${DATABUS_NAME}
DATABUS_ABSTRACT: ${DATABUS_ABSTRACT}
DATABUS_ORG_ICON: ${DATABUS_ORG_ICON}
DATABUS_BANNER_COLOR: ${DATABUS_BANNER_COLOR}
DATABUS_OIDC_CLIENT_ID: ${DATABUS_OIDC_CLIENT_ID}
DATABUS_OIDC_SECRET: ${DATABUS_OIDC_SECRET}
DATABUS_PRIVATE_MODE: ${DATABUS_PRIVATE_MODE} # Private mode will only show metadata for logged-in users
volumes:
- ${DATA_PATH}/data/dav/:/databus/server/dav/
- ${DATA_PATH}/data/sqlite/:/databus/server/sqlite
- ${DATA_PATH}/data/keypair/:/databus/server/keypair
gstore:
image: "docker.io/dbpedia/gstore"
environment:
STORAGE_USER: ${VIRTUOSO_USER}
STORAGE_PASS: ${VIRTUOSO_PASSWORD}
STORAGE_SPARQL_ENDPOINT_URI: http://virtuoso:8890/sparql
DEFAULT_JSONLD_LOCALHOST_CONTEXT: http://localhost:3000/res/context.jsonld
DEFAULT_JSONLD_LOCALHOST_CONTEXT_LOCATION: http://databus:3000/res/context.jsonld
ports:
- 3002:8080
volumes:
- ${DATA_PATH}/data/gstore/repo:/gstore/git
- ${DATA_PATH}/data/gstore/logs:/gstore/logs
virtuoso:
image: "docker.io/openlink/virtuoso-opensource-7"
environment:
DBA_PASSWORD: ${VIRTUOSO_PASSWORD}
SPARQL_UPDATE: "true"
DEFAULT_GRAPH: ${DATABUS_RESOURCE_BASE_URL}
ports:
- 3003:8890
volumes:
- ${DATA_PATH}/data/virtuoso:/database
entrypoint: /bin/bash -c "
echo 'grant SPARQL_LOAD_SERVICE_DATA to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql &&
echo 'grant SPARQL_SPONGE to \"SPARQL\";' >> /opt/virtuoso-opensource/initdb.d/ini.sql &&
echo 'grant SPARQL_SELECT_FED to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql &&
/virtuoso-entrypoint.sh"
lookup:
image: "docker.io/dbpedia/lookup:dev"
ports:
- 3004:8082
volumes:
- ${DATA_PATH}/data/index/:/index
- ../search/servlet-config.yml:/resources/config.yml
8 changes: 7 additions & 1 deletion devenv/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DATABUS_RESOURCE_BASE_URL=http://localhost:3000
DATABUS_DATABASE_URL=http://localhost:3002
DATABUS_NAME="Just Another Databus"
DATABUS_ABSTRACT="Another Node in the Databus Network"
DATABUS_ORG_ICON="https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png"
DATABUS_BANNER_COLOR="\#5b798d"

Expand All @@ -9,7 +10,7 @@ webpack:

env-clean:
sudo rm -r data/; \
sudo rm -r ../server/users; \
sudo rm -r ../server/users
docker rm -f devenv_lookup; \
docker rm -f devenv_virtuoso; \
docker rm -f devenv_gstore;
Expand Down Expand Up @@ -42,7 +43,9 @@ srv-install:
srv-start-auth0:
DATABUS_RESOURCE_BASE_URL=${DATABUS_RESOURCE_BASE_URL} \
DATABUS_NAME=${DATABUS_NAME} \
DATABUS_ABSTRACT=${DATABUS_ABSTRACT} \
DATABUS_ORG_ICON=${DATABUS_ORG_ICON} \
DATABUS_BANNER=${DATABUS_BANNER} \
DATABUS_BANNER_COLOR=${DATABUS_BANNER_COLOR} \
DATABUS_DATABASE_URL=${DATABUS_DATABASE_URL} \
DATABUS_OIDC_ISSUER_BASE_URL=https://kilt.eu.auth0.com \
Expand Down Expand Up @@ -81,3 +84,6 @@ srv-test:
DATABUS_OIDC_CLIENT_ID=e9eOLS9IkGvuyBl7cBorWUQTNgbqejhc \
DATABUS_OIDC_SECRET=0RVo9jMnbhPnkR6Ttz0aXQRTcRuSz5DpqyUEjbbcbgRuGA4rbwCjnHM2cOlTrv9q \
npm run test --prefix ./../server

dockerize:
docker buildx build --push -t dbpedia/databus:dev -f ../Dockerfile ..
7 changes: 7 additions & 0 deletions devenv/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Development Environment

## Orientation

The Databus is implemented in Javascript using Nodejs+Express for the Server and Angularjs for the client-side webapp.
The nodejs server is providing both the API and the webapp resources. The webapp does not have its own server and runs only in the browser.

The Databus is best developed using Visual Studio Code to use the startup scripts in the `.vscode` folder.

## Requirements

* `node.js`: v16.13.0 or higher
Expand Down
Loading