setup.sh 235 B

123456789
  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 PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
  6. lapis server production &