Commit 50f71e4c authored by Romain Loth's avatar Romain Loth

Merge branch 'master' of https://github.com/moma/ProjectExplorer

parents 96e3608a 62ac2f01
...@@ -6,8 +6,8 @@ TW.conf = (function(TW){ ...@@ -6,8 +6,8 @@ TW.conf = (function(TW){
let TWConf = {} let TWConf = {}
TWConf.branding = 'ProjectExplorer' // <--- the name displayed in upper left TWConf.branding = 'Community Explorer 2' // <--- name displayed in upper left
TWConf.brandingLink = 'https://github.com/moma/ProjectExplorer' // <--- link to "home" TWConf.brandingLink = 'https://communityexplorer.org' // <--- link to "home"
// ========================== // ==========================
...@@ -17,10 +17,10 @@ TW.conf = (function(TW){ ...@@ -17,10 +17,10 @@ TW.conf = (function(TW){
// Graph data source // Graph data source
// ----------------- // -----------------
// the graph input depends on TWConf.sourcemode (or manual url arg 'sourcemode') // the graph input depends on TWConf.sourcemode (or manual url arg 'sourcemode')
TWConf.sourcemode = "servermenu" // accepted: "api" | "serverfile" | "servermenu" | "localfile" TWConf.sourcemode = "api" // accepted: "api" | "serverfile" | "servermenu" | "localfile"
// server-side .gexf|.json default source // server-side .gexf|.json default source
TWConf.sourceFile = "data/politoscope/ProgrammeDesCandidats.enrichi.gexf" TWConf.sourceFile = ""
// ...or server-side gexf default source list // ...or server-side gexf default source list
TWConf.sourceMenu = "db.json" TWConf.sourceMenu = "db.json"
...@@ -34,8 +34,9 @@ TW.conf = (function(TW){ ...@@ -34,8 +34,9 @@ TW.conf = (function(TW){
// Related documents (topPapers) data source // Related documents (topPapers) data source
// ----------------------------------------- // -----------------------------------------
TWConf.getRelatedDocs = true TWConf.getRelatedDocs = false
TWConf.relatedDocsMax = 10 TWConf.relatedDocsMax = 10
TWConf.relatedDocsAPI = "http://127.0.0.1:5000/twitter_search"
TWConf.relatedDocsType = "LocalDB" // accepted: "twitter" | "LocalDB" TWConf.relatedDocsType = "LocalDB" // accepted: "twitter" | "LocalDB"
// POSSible: "elastic" // POSSible: "elastic"
...@@ -164,7 +165,7 @@ TW.conf = (function(TW){ ...@@ -164,7 +165,7 @@ TW.conf = (function(TW){
// Modules path // Modules path
// ------------ // ------------
TWConf.paths = { TWConf.paths = {
'ourlibs': 'twlibs', 'ourlibs': 'static/tinawebJS/twlibs',
'modules': 'twmodules' 'modules': 'twmodules'
} }
Object.freeze(TWConf.paths) // /!\ to prevent path modification before load Object.freeze(TWConf.paths) // /!\ to prevent path modification before load
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment