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
a70a216c52
commit
b834e53e13
2 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@ module.exports =
|
|||
internal:
|
||||
filestore:
|
||||
port: 3009
|
||||
host: "localhost"
|
||||
host: process.env['LISTEN_ADDRESS'] or "localhost"
|
||||
|
||||
filestore:
|
||||
# Which backend persistor to use.
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/sharelatex/filestore-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": {
|
||||
"async": "~0.2.10",
|
||||
"aws-sdk": "^2.1.39",
|
||||
|
|
Loading…
Reference in a new issue