mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Provide hosts as environment settings and add npm run start script
This commit is contained in:
parent
6518213ca5
commit
f4f4545e04
2 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,7 @@ module.exports =
|
||||||
internal:
|
internal:
|
||||||
contacts:
|
contacts:
|
||||||
port: 3036
|
port: 3036
|
||||||
host: "localhost"
|
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
url: 'mongodb://127.0.0.1/sharelatex'
|
url: "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sharelatex/contacts-sharelatex.git"
|
"url": "https://github.com/sharelatex/contacts-sharelatex.git"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"compile:app": "coffee -o app/js -c app/coffee && coffee -c app.coffee",
|
||||||
|
"start": "npm run compile:app && node app.js"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
||||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
||||||
|
|
Loading…
Reference in a new issue