Создание runtime папок вынесено в bootstrap.sh

This commit is contained in:
ErickSkrauch
2017-11-28 19:12:50 +03:00
parent 58e09e0964
commit 5269f9b25a
3 changed files with 7 additions and 8 deletions

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash
mkdir -p api/runtime api/web/assets console/runtime
chown www-data:www-data api/runtime api/web/assets console/runtime
if [ "$YII_ENV" = "test" ]
then
YII_EXEC="/var/www/html/tests/codeception/bin/yii"