Permalink
Browse files

NODE_CONFIG

  • Loading branch information...
1 parent 80fcd1c commit f7a4325c923396d21f8aa78aa743ec577df95761 @chovy committed Mar 22, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
@@ -28,8 +28,13 @@ Edit the node-app script with your settings for node path, node environment (ie:
APP_DIR='/var/www/example.com';
PID_FILE=$APP_DIR/pid/app.pid
LOG_FILE=$APP_DIR/log/app.log
+ CONFIG_DIR=$APP_DIR/config
+
+CONFIG_DIR is required to be defined, but can be ignored. It is required for node-config: https://github.com/lorenwest/node-config -- if you do not need it, you can simply set it to $APP_DIR.
+
+ CONFIG_DIR=$APP_DIR
-CONFIG_DIR is optional and optional environment variable. It is required for node-config: https://github.com/lorenwest/node-config -- if you do not need it, you can simply set it to $APP_DIR.
+If your are using node-config:
CONFIG_DIR=$APP_DIR/config

0 comments on commit f7a4325

Please sign in to comment.