mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add CLSI to known repos
This commit is contained in:
parent
b492c0d5c9
commit
4d4d048c73
2 changed files with 29 additions and 11 deletions
|
@ -9,6 +9,9 @@ SERVICES = [{
|
||||||
}, {
|
}, {
|
||||||
name: "document-updater"
|
name: "document-updater"
|
||||||
repo: "git@github.com:sharelatex/document-updater-sharelatex.git"
|
repo: "git@github.com:sharelatex/document-updater-sharelatex.git"
|
||||||
|
}, {
|
||||||
|
name: "clsi"
|
||||||
|
repo: "git@github.com:sharelatex/clsi-sharelatex.git"
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,17 +21,19 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks 'grunt-available-tasks'
|
grunt.loadNpmTasks 'grunt-available-tasks'
|
||||||
grunt.loadNpmTasks 'grunt-concurrent'
|
grunt.loadNpmTasks 'grunt-concurrent'
|
||||||
|
|
||||||
|
execute = {}
|
||||||
|
for service in SERVICES
|
||||||
|
execute[service.name] =
|
||||||
|
src: "#{service.name}/app.js"
|
||||||
|
|
||||||
grunt.initConfig
|
grunt.initConfig
|
||||||
execute:
|
execute: execute
|
||||||
web:
|
|
||||||
src: "web/app.js"
|
|
||||||
'document-updater':
|
|
||||||
src: "document-updater/app.js"
|
|
||||||
|
|
||||||
concurrent:
|
concurrent:
|
||||||
all:
|
all:
|
||||||
tasks: ['run:web', 'run:document-updater']
|
tasks: ("run:#{service.name}" for service in SERVICES)
|
||||||
options:
|
options:
|
||||||
|
limit: SERVICES.length
|
||||||
logConcurrentOutput: true
|
logConcurrentOutput: true
|
||||||
|
|
||||||
availabletasks:
|
availabletasks:
|
||||||
|
@ -45,10 +50,8 @@ module.exports = (grunt) ->
|
||||||
"Run tasks": [
|
"Run tasks": [
|
||||||
"run"
|
"run"
|
||||||
"run:all"
|
"run:all"
|
||||||
"run:web"
|
|
||||||
"run:document-updater"
|
|
||||||
"default"
|
"default"
|
||||||
]
|
].concat ("run:#{service.name}" for service in SERVICES)
|
||||||
"Misc": [
|
"Misc": [
|
||||||
"help"
|
"help"
|
||||||
]
|
]
|
||||||
|
|
|
@ -42,6 +42,12 @@ module.exports =
|
||||||
port: "6379"
|
port: "6379"
|
||||||
password: ""
|
password: ""
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
clsi:
|
||||||
|
database: "clsi"
|
||||||
|
username: "clsi"
|
||||||
|
password: ""
|
||||||
|
|
||||||
# Service locations
|
# Service locations
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
||||||
|
@ -51,8 +57,13 @@ module.exports =
|
||||||
internal:
|
internal:
|
||||||
web:
|
web:
|
||||||
port: webPort = 3000
|
port: webPort = 3000
|
||||||
|
host: "localhost"
|
||||||
documentupdater:
|
documentupdater:
|
||||||
port: docUpdaterPort = 3003
|
port: docUpdaterPort = 3003
|
||||||
|
host: "localhost"
|
||||||
|
clsi:
|
||||||
|
port: clsiPort = 3013
|
||||||
|
host: "localhost"
|
||||||
|
|
||||||
# Tell each service where to find the other services. If everything
|
# Tell each service where to find the other services. If everything
|
||||||
# is running locally then this is easy, but they exist as separate config
|
# is running locally then this is easy, but they exist as separate config
|
||||||
|
@ -64,6 +75,8 @@ module.exports =
|
||||||
pass: httpAuthPass
|
pass: httpAuthPass
|
||||||
documentupdater:
|
documentupdater:
|
||||||
url : "http://localhost:#{docUpdaterPort}"
|
url : "http://localhost:#{docUpdaterPort}"
|
||||||
|
clsi:
|
||||||
|
url: "http://localhost:#{clsiPort}"
|
||||||
thirdPartyDataStore:
|
thirdPartyDataStore:
|
||||||
url : "http://localhost:3002"
|
url : "http://localhost:3002"
|
||||||
emptyProjectFlushDelayMiliseconds: 5 * seconds
|
emptyProjectFlushDelayMiliseconds: 5 * seconds
|
||||||
|
@ -88,8 +101,6 @@ module.exports =
|
||||||
port: 3008
|
port: 3008
|
||||||
filestore:
|
filestore:
|
||||||
url: "http://localhost:3009"
|
url: "http://localhost:3009"
|
||||||
clsi:
|
|
||||||
url: "http://localhost:3013"
|
|
||||||
templates_api:
|
templates_api:
|
||||||
url: "http://localhost:3014"
|
url: "http://localhost:3014"
|
||||||
|
|
||||||
|
@ -182,6 +193,10 @@ module.exports =
|
||||||
# that need processing but may be too big for memory, then write
|
# that need processing but may be too big for memory, then write
|
||||||
# them to disk here).
|
# them to disk here).
|
||||||
dumpFolder: Path.resolve "data/dumpFolder"
|
dumpFolder: Path.resolve "data/dumpFolder"
|
||||||
|
# Where to write the project to disk before running LaTeX on it
|
||||||
|
compilesDir: Path.resolve(__dirname + "/../compiles")
|
||||||
|
# Where to cache downloaded URLs for the CLSI
|
||||||
|
clsiCacheDir: Path.resolve(__dirname + "/../cache")
|
||||||
|
|
||||||
# Automatic Snapshots
|
# Automatic Snapshots
|
||||||
# -------------------
|
# -------------------
|
||||||
|
|
Loading…
Reference in a new issue