Provide hosts as environment settings and add npm run start script
@@ -4,7 +4,7 @@ module.exports =
internal:
filestore:
port: 3009
- host: "localhost"
+ host: process.env['LISTEN_ADDRESS'] or "localhost"
# 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",