mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4 from sharelatex/ja-dockerize-dev
Provide hosts as environment settings and add npm run start script
This commit is contained in:
commit
274616780a
2 changed files with 13 additions and 8 deletions
|
@ -5,7 +5,7 @@ module.exports =
|
|||
internal:
|
||||
contacts:
|
||||
port: 3036
|
||||
host: "localhost"
|
||||
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
||||
|
||||
mongo:
|
||||
url: 'mongodb://127.0.0.1/sharelatex'
|
||||
url: "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
||||
|
|
|
@ -7,16 +7,21 @@
|
|||
"type": "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": {
|
||||
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
||||
"async": "~0.8.0",
|
||||
"body-parser": "~1.0.2",
|
||||
"coffee-script": "^1.7.1",
|
||||
"express": "~4.1.1",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1",
|
||||
"mongojs": "0.18.2",
|
||||
"express": "~4.1.1",
|
||||
"underscore": "~1.6.0",
|
||||
"body-parser": "~1.0.2",
|
||||
"async": "~0.8.0",
|
||||
"request": "~2.34.0"
|
||||
"request": "~2.34.0",
|
||||
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
||||
"underscore": "~1.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bunyan": "~0.22.3",
|
||||
|
|
Loading…
Reference in a new issue