- #!/bin/bash
- fw_depends php7 phalcon nginx composer
- sed -i 's|mongodb://localhost|mongodb://'"${DBHOST}"'|g' app/config/config.php
- sed -i 's|localhost|'"${DBHOST}"'|g' app/config/config.php
- sed -i 's|root .*/FrameworkBenchmarks/php-phalcon|root '"${TROOT}"'|g' deploy/nginx.conf
- sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
- php-fpm --fpm-config $FWROOT/toolset/setup/linux/languages/php/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
- nginx -c $TROOT/deploy/nginx.conf
|