Browse Source

remove bash_profile.sh from lapis. Update reference to correct version of
openresty

Lita Gratrix 10 years ago
parent
commit
dc84deec46
2 changed files with 2 additions and 3 deletions
  1. 0 3
      frameworks/Lua/lapis/bash_profile.sh
  2. 2 0
      frameworks/Lua/lapis/setup.sh

+ 0 - 3
frameworks/Lua/lapis/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1

+ 2 - 0
frameworks/Lua/lapis/setup.sh

@@ -4,6 +4,8 @@ sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 
 
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1
+export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.7.1
 export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
 export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
 
 
 lapis server production &
 lapis server production &