Skip to content

Commit

Permalink
chrome plugin id is now an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Dec 14, 2017
1 parent b91b3c4 commit f6f07f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions webserver/docker/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ services:
- NER=corenlp
# - NER=germaner
- NO_KEYWORDS=true
- CHROME_ID=pebdjeaapfkjiceloeecpoedbliefnap
mem_limit: 4g
memswap_limit: 5g
networks:
Expand Down
1 change: 1 addition & 0 deletions webserver/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ services:
- NER=germaner
#- NER=corenlp
- NO_KEYWORDS=T
- CHROME_ID=hnndfanecdfnonofigcceaahflgfpgbd
depends_on:
mysqlserver:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion webserver/public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var d3 = require('d3')
, _ = require('lodash')
;

var CHROME_PLUGIN_ID = "pebdjeaapfkjiceloeecpoedbliefnap";
var CHROME_PLUGIN_ID = process.env.CHROME_ID || "pebdjeaapfkjiceloeecpoedbliefnap";

module.exports = function(store){
var nodeDetails = document.body.querySelector('.node-details')
Expand Down
2 changes: 1 addition & 1 deletion webserver/public/js/storyfinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ var d3 = require('d3'),
Search = require('./search.js'),
_ = require('lodash');

var CHROME_PLUGIN_ID = "pebdjeaapfkjiceloeecpoedbliefnap";
var CHROME_PLUGIN_ID = process.env.CHROME_ID || "pebdjeaapfkjiceloeecpoedbliefnap";

module.exports = function (store) {
var nodeDetails = document.body.querySelector('.node-details'),
Expand Down
2 changes: 2 additions & 0 deletions webserver/setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export GERMANER_PORT="8080"

export NER="corenlp" # germaner
export NO_KEYWORDS="" # true

export CHROME_ID="hnndfanecdfnonofigcceaahflgfpgbd" # chrome

0 comments on commit f6f07f1

Please sign in to comment.