Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex
This commit is contained in:
@@ -50,10 +50,11 @@ resCacher =
|
|||||||
body:{}
|
body:{}
|
||||||
setContentType:"application/json"
|
setContentType:"application/json"
|
||||||
|
|
||||||
do runSmokeTest = ->
|
if Settings.smokeTest
|
||||||
logger.log("running smoke tests")
|
do runSmokeTest = ->
|
||||||
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)
|
logger.log("running smoke tests")
|
||||||
setTimeout(runSmokeTest, 20 * 1000)
|
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)
|
||||||
|
setTimeout(runSmokeTest, 20 * 1000)
|
||||||
|
|
||||||
app.get "/health_check", (req, res)->
|
app.get "/health_check", (req, res)->
|
||||||
res.contentType(resCacher?.setContentType)
|
res.contentType(resCacher?.setContentType)
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ module.exports =
|
|||||||
dialect: "sqlite"
|
dialect: "sqlite"
|
||||||
storage: Path.resolve(__dirname + "/../db.sqlite")
|
storage: Path.resolve(__dirname + "/../db.sqlite")
|
||||||
|
|
||||||
|
|
||||||
path:
|
path:
|
||||||
compilesDir: Path.resolve(__dirname + "/../compiles")
|
compilesDir: Path.resolve(__dirname + "/../compiles")
|
||||||
clsiCacheDir: Path.resolve(__dirname + "/../cache")
|
clsiCacheDir: Path.resolve(__dirname + "/../cache")
|
||||||
@@ -36,5 +35,5 @@ module.exports =
|
|||||||
apis:
|
apis:
|
||||||
clsi:
|
clsi:
|
||||||
url: "http://localhost:3013"
|
url: "http://localhost:3013"
|
||||||
|
|
||||||
|
smokeTest: false
|
||||||
|
|||||||
16
package.json
16
package.json
@@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "node-clsi",
|
"name": "node-clsi",
|
||||||
"description": "A Node.js implementation of the CLSI LaTeX web-API",
|
"description": "A Node.js implementation of the CLSI LaTeX web-API",
|
||||||
"version": "0.0.1-dev",
|
"version": "0.1.1",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/sharelatex/clsi-sharelatex.git"
|
||||||
|
},
|
||||||
"author": "James Allen <james@sharelatex.com>",
|
"author": "James Allen <james@sharelatex.com>",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "0.2.9",
|
"async": "0.2.9",
|
||||||
@@ -9,12 +13,12 @@
|
|||||||
"mkdirp": "0.3.5",
|
"mkdirp": "0.3.5",
|
||||||
"mysql": "2.0.0-alpha7",
|
"mysql": "2.0.0-alpha7",
|
||||||
"request": "~2.21.0",
|
"request": "~2.21.0",
|
||||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
|
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.0.0",
|
||||||
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#master",
|
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
||||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#master",
|
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.0.0",
|
||||||
"sequelize": "~2.0.0-beta.2",
|
"sequelize": "2.0.0-beta.2",
|
||||||
"wrench": "~1.5.4",
|
"wrench": "~1.5.4",
|
||||||
"smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#master",
|
"smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#v1.0.0",
|
||||||
"sqlite3": "~2.2.0",
|
"sqlite3": "~2.2.0",
|
||||||
"express": "^4.2.0",
|
"express": "^4.2.0",
|
||||||
"body-parser": "^1.2.0"
|
"body-parser": "^1.2.0"
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user