Skip to content

Commit

Permalink
Merge pull request #82 from meaningfy-ws/feature/centos
Browse files Browse the repository at this point in the history
centos
  • Loading branch information
cosletmihai authored Dec 16, 2021
2 parents c71038a + 1de3d11 commit 89bdb42
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bash/install_os_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
sudo dnf install python3.8 redis curl
sudo yum install redis curl java-11-openjdk
8 changes: 4 additions & 4 deletions bash/setup_fuseki.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -o allexport; source bash/.env; set +o allexport

wget https://dlcdn.apache.org/jena/binaries/apache-jena-fuseki-4.2.0.tar.gz
tar xzf apache-jena-fuseki-4.2.0.tar.gz
mv apache-jena-fuseki-4.2.0 fuseki
rm apache-jena-fuseki-4.2.0.tar.gz
wget https://dlcdn.apache.org/jena/binaries/apache-jena-fuseki-4.3.1.tar.gzx
tar xzf apache-jena-fuseki-4.3.1.tar.gz
mv apache-jena-fuseki-4.3.1 fuseki
rm apache-jena-fuseki-4.3.1.tar.gz
2 changes: 1 addition & 1 deletion bash/setup_python.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -o allexport; source bash/.env; set +o allexport

python3.8 -m venv env
python -m venv env
source env/bin/activate
pip install -r requirements/prod.txt
4 changes: 2 additions & 2 deletions rdf_differ/services/report_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
import shutil
from pathlib import Path
from shutil import copytree
from distutils.dir_util import copy_tree

from eds4jinja2.builders.report_builder import ReportBuilder
from werkzeug.exceptions import UnprocessableEntity
Expand Down Expand Up @@ -37,7 +37,7 @@ def build_report(temp_dir: str, template_location: str, query_files: dict, appli
}
logger.debug(f'template location {template_location}')

copytree(template_location, temp_dir, dirs_exist_ok=True)
copy_tree(template_location, temp_dir)

try:
with open(Path(temp_dir) / 'config.json', 'r') as config_file:
Expand Down

0 comments on commit 89bdb42

Please sign in to comment.