updating nodebb executable so that it sends a NODE_ENV environment
variable in, and modified app.js and redis lib to read it.v1.18.x
parent
f91e0848ee
commit
4d99870063
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
clear
|
||||
echo "Launching NodeBB"
|
||||
supervisor --extensions 'node|js|tpl' -- app $1
|
||||
echo "Launching NodeBB in \"development\" mode"
|
||||
NODE_ENV=development supervisor --extensions 'node|js|tpl' -- app $1
|
Loading…
Reference in New Issue