43 | | vim -c "%s/define(\'EXT_ACTIONS_ENGINE_URL\', \'https:\/\/edokumenty.eu\')/define(\'EXT_ACTIONS_ENGINE_URL\', \'https:\/\/edokumenty.eu\/test\')/g" -c 'wq' config.inc |
44 | | vim -c "%s/define(\'APPLICATION_NAME\', \'Ready_™\')/define(\'APPLICATION_NAME\', \'WERSJA TESTOWA READY_™\')/g" -c 'wq' config.inc |
| 43 | vim -c "%s/define(\'EXT_ACTIONS_ENGINE_URL\', \'https:\/\/edokumenty.eu\')/define(\'EXT_ACTIONS_ENGINE_URL\', \'https:\/\/edokumenty.eu\/test\')/g" -c 'wq' config.inc |
| 44 | vim -c "%s/define(\'APPLICATION_NAME\', \'Ready_™\')/define(\'APPLICATION_NAME\', \'WERSJA TESTOWA READY_™\')/g" -c 'wq' config.inc |
| 45 | |
| 46 | cd /home/test/ |
| 47 | chown -R test:test bin |
| 48 | chown -R test:test etc |
| 49 | chown -R test:test public_html |
| 50 | chown -R www-data:test public_html/apps/edokumenty/var |
| 51 | chmod -R g+rwX public_html/apps/edokumenty/var |
| 52 | chmod g+s public_html/apps/edokumenty/var |
| 53 | chmod g+s public_html/apps/edokumenty/var/img |
| 54 | chmod g+s public_html/apps/edokumenty/var/tmp |
| 55 | chmod g+s public_html/apps/edokumenty/var/tpl |
| 56 | chmod g+w public_html/apps/edokumenty/var/tpl |
| 57 | chgrp -R test public_html/apps/edokumenty/var/cache |
| 58 | chmod -R g+rwX public_html/apps/edokumenty/var/cache |
| 59 | chown -R www-data:test public_html/apps/edokumenty/var/cache/tmpl |
| 60 | chmod g+s public_html/apps/edokumenty/var/cache/tmpl |
| 61 | chown -R test:test vendor |
| 62 | |
| 63 | |
| 64 | |