setup.sh 286 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
  3. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
  4. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
  5. export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.7.1
  6. export PATH=${LAPIS_OPENRESTY}/nginx/sbin:$PATH
  7. lapis server production &