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){
let TWConf = {}
TWConf.branding = 'ProjectExplorer' // <--- the name displayed in upper left
TWConf.brandingLink = 'https://github.com/moma/ProjectExplorer' // <--- link to "home"
TWConf.branding = 'Community Explorer 2' // <--- name displayed in upper left
TWConf.brandingLink = 'https://communityexplorer.org' // <--- link to "home"
// ==========================
......@@ -17,10 +17,10 @@ TW.conf = (function(TW){
// Graph data source
// -----------------
// 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
TWConf.sourceFile = "data/politoscope/ProgrammeDesCandidats.enrichi.gexf"
TWConf.sourceFile = ""
// ...or server-side gexf default source list
TWConf.sourceMenu = "db.json"
......@@ -34,8 +34,9 @@ TW.conf = (function(TW){
// Related documents (topPapers) data source
// -----------------------------------------
TWConf.getRelatedDocs = true
TWConf.getRelatedDocs = false
TWConf.relatedDocsMax = 10
TWConf.relatedDocsAPI = "http://127.0.0.1:5000/twitter_search"
TWConf.relatedDocsType = "LocalDB" // accepted: "twitter" | "LocalDB"
// POSSible: "elastic"
......@@ -164,7 +165,7 @@ TW.conf = (function(TW){
// Modules path
// ------------
TWConf.paths = {
'ourlibs': 'twlibs',
'ourlibs': 'static/tinawebJS/twlibs',
'modules': 'twmodules'
}
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