Skip to content

Commit a375af7

Browse files
authored
Merge pull request #786 from OpenKnowledgeMaps/dev
Release 2025-03-28
2 parents 6e44cee + bfe988b commit a375af7

429 files changed

Lines changed: 24422 additions & 27518 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.docker.test.env

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# APP
2+
FLASK_ENV=development
3+
BEHIND_PROXY=False
4+
SERVICE_VERSION=7d60186f594d420f82901f0514eb3c7e6b6e62d5
5+
LOGLEVEL=DEBUG
6+
LOGFILE="/var/log/headstart/headstart.log"
7+
8+
# DB
9+
POSTGRES_USER=testuser
10+
POSTGRES_PASSWORD=postgres
11+
POSTGRES_HOST=db_server
12+
POSTGRES_PORT=5434
13+
POSTGRES_DATABASE=testdb
14+
15+
# REDIS
16+
REDIS_HOST=redis-1
17+
REDIS_PORT=6355
18+
REDIS_PASSWORD=testredispassword
19+
REDIS_DB=0
20+
21+
# R
22+
R_BASE_APIKEY=5812aa4367eb1dc3d366d99fdaaef0e3
23+
24+
# ORCID
25+
ORCID_CLIENT_ID="APP-DL8ZAR72EZWW15NX"
26+
ORCID_CLIENT_SECRET="a3389b1a-19c0-4f78-857a-4aba19f5fa46"

.eslintrc.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
max-line-length = 100
3+
# required for compatibility with Black:
4+
extend-ignore = E203
5+
exclude = .venv

.gitignore

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ server/preprocessing/other-scripts/renv
4545
/*.Rproj
4646
.Rproj.user
4747

48-
4948
# python files
5049
*.pyc
5150
*.pkl
@@ -55,6 +54,7 @@ server/preprocessing/other-scripts/renv
5554
/server/nbproject/private/
5655
.pytest_cache
5756
*__pycache__*
57+
.venv
5858

5959
# python files
6060
*.pyc
@@ -64,4 +64,17 @@ server/preprocessing/other-scripts/renv
6464
/nbproject/private/
6565
/server/nbproject/private/
6666
.pytest_cache
67-
*__pycache__*
67+
*.egg-info/
68+
*__pycache__*
69+
70+
# Mac files
71+
.DS_Store
72+
73+
# personal
74+
.vscode/settings.json
75+
# temporal
76+
local_dev/config_local_headstart.ini
77+
local_dev/config_local_searchflow.ini
78+
79+
# mac os
80+
.DS_Store

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v14.21.3

babel.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
presets: [
3+
"@babel/preset-react",
4+
[
5+
"@babel/preset-env",
6+
{
7+
targets: { node: "current" },
8+
modules: "commonjs",
9+
},
10+
],
11+
],
12+
plugins: [
13+
[
14+
"@babel/plugin-transform-runtime",
15+
{
16+
regenerator: true,
17+
},
18+
],
19+
],
20+
};

checks/config-js.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# Checks that config.js file exists in the root of the project
4+
CONFIG_FILE="$(dirname "$0")/config.js"
5+
if [ ! -f "$CONFIG_FILE" ]; then
6+
echo "\033[1;33m Warning: config.js not found in the project root! See the config.example.js file.\033[0m"
7+
fi

checks/ht-access.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# !/bin/bash
2+
# Checks that .htaccess file exists in the project-website folder and creates one if if it is not
3+
4+
cd .. || exit
5+
cd project-website || exit
6+
7+
if [ ! -f .htaccess ]; then
8+
echo "\033[1;33m Warning: .htaccess not found in the project-website folder. It will be created automatically."
9+
cp settings.htaccess .htaccess
10+
echo ".htaccess file created."
11+
fi
12+
13+
cd .. || exit
14+
cd Headstart || exit

docker-compose-dataworker.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)