Skip to content

Commit 831acde

Browse files
committed
additional cleanup
1 parent b83f88a commit 831acde

3 files changed

Lines changed: 1 addition & 23 deletions

File tree

local_dev/config_local_headstart.ini

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ services_path = "server/services/"
1717
api_url = "http://proxy-proxy-1/"
1818
# flavor of API, default: stable
1919
api_flavor = "dev"
20-
# The value that is used to determine which db to use: SQLite - 0 or PostgreSQL - 1
21-
shift_read_percentage = 1
2220

2321
[snapshot]
2422
# Set to 1 to enable snapshot feature, 0 to disable
@@ -36,25 +34,6 @@ snapshot_php = "server/services/snapshot/headstart_snapshot.php"
3634
# snapshot_local_protocol fallback for non-server environments
3735
snapshot_local_protocol = "http://"
3836

39-
[output]
40-
# Relative paths for offline calculation
41-
output_dir = "other-scripts/"
42-
cooc = "cooc.csv";
43-
metadata = "metadata.csv"
44-
output_scaling_clustering = "output_scaling_clustering.csv"
45-
output_naming = "output_naming.csv"
46-
unique_id = "vis_id2"
47-
title = "Visualization"
48-
4937
[connection]
50-
# Full path to the sqlite datatabase file. Make sure that your webserver has write access to this file. For development purposes, duplicate headstart.sqlite in server/storage/ and rename it to a filename of your choice. Enter the path to this file here.
51-
sqlite_db = "/var/www/localstorage/local.sqlite"
5238
# PostgreSQL database
53-
database = "dev"
54-
55-
[calculation]
56-
# Path to the RScript binary
57-
binary = "/usr/bin/Rscript"
58-
# Relative path from preprocessing_dir to the R script
59-
script = "other-scripts/text_similarity.R"
60-
mode = "bookmarks"
39+
database = "dev"
-8.95 MB
Binary file not shown.

server/classes/headstart/library/APIClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public function load_configs($ini_array) {
1414
$this->ini_array = $ini_array;
1515
$this->settings = $this->ini_array["general"];
1616
$this->database = $this->ini_array["connection"]["database"];
17-
$this->WORKING_DIR = $this->ini_array["general"]["preprocessing_dir"] . $this->ini_array["output"]["output_dir"];
1817
$api_url = $this->ini_array["general"]["api_url"];
1918
$api_flavor = isset($this->ini_array["general"]["api_flavor"])
2019
? ($this->ini_array["general"]["api_flavor"])

0 commit comments

Comments
 (0)