diff --git a/demo/rgdemo.sh b/demo/rgdemo.sh new file mode 100755 index 0000000..3b83c14 --- /dev/null +++ b/demo/rgdemo.sh @@ -0,0 +1,7 @@ +abs_path() { odir=`pwd`; cd `dirname $1`; pwd; cd "${odir}"; } +MYDIR=`abs_path "$0"` +cd $MYDIR + +rg conf -e dev -s test +rg start +rg info diff --git a/src/etc/mac.py b/src/etc/mac.py new file mode 100644 index 0000000..ea27a6a --- /dev/null +++ b/src/etc/mac.py @@ -0,0 +1,15 @@ + +from setting import rgenv + +def rgenv_enable() : + rgenv['PHP_BIN'] = "" + rgenv['PHP_FPM'] = "" + rgenv['PHP_INI'] = "" + rgenv['VARNISHD'] = "" + rgenv['VARNISHADM'] = "" + rgenv['RG_DEVPATH'] = "" + rgenv['ZDAEMON'] = "" + rgenv['BEANSTALKD'] = "" + rgenv['NGINX_CONF'] = "" + rgenv['NGINX_BIN'] = "" +