Skip to content
Snippets Groups Projects
Commit ff613b0b authored by Kaushik Ramesh's avatar Kaushik Ramesh
Browse files

Merge branch 'UoM_Changes' into 'master'

Limiting dependency on dmi-tcat GitHub repo

See merge request !1
parents 29518e70 467e8ee0
Branches master
No related tags found
1 merge request!1Limiting dependency on dmi-tcat GitHub repo
<?php
$config_file = __DIR__.'/config/config.json';
if (!file_exists($config_file)) {
header("Location: /capture/config_tcat.php");
exit(1);
//Set Config default values
$config_json["CAPTURE_MODE"] = 1;
$config_json["URLEXPANDYES"] = 'y';
$config_json["TCAT_AUTO_UPDATE"] = 0;
} else {
$config_json = json_decode(file_get_contents($config_file), true);
}
......@@ -64,10 +66,10 @@ $mail_to = "";
// Please fill in your API credentials here
$twitter_consumer_key = $config_json["CONSUMERKEY"];
$twitter_consumer_secret = $config_json["CONSUMERSECRET"];
$twitter_user_token = $config_json["USERTOKEN"];
$twitter_user_secret = $config_json["USERSECRET"];
$twitter_consumer_key = "";
$twitter_consumer_secret = "";
$twitter_user_token = "";
$twitter_user_secret = "";
// List of additional keys to loop over when there is a limited amount of requests per key, e.g. search
// twitter_keys is an array of arrays listing different Twitter API keys
......
......@@ -94,7 +94,7 @@ set -u # fail on attempts to expand undefined variables
# Release of DMI-TCAT to install
# These can be changed using the -R and -B command line options
TCAT_GIT_REPOSITORY=https://github.com/digitalmethodsinitiative/dmi-tcat.git
TCAT_GIT_REPOSITORY=https://gitlab.unimelb.edu.au/resplat-public/dmi-tcat.git
TCAT_GIT_BRANCH= # empty string means use shallow clone of 'master' branch
# non-empty string means use a full clone of the named branch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment