fix(): current folder for composer
parent
92e54a64dd
commit
cad880104c
|
@ -138,10 +138,11 @@ docker-compose up -d
|
|||
|
||||
:warning: Disable 3rd party extensions prior to upgrading in panel admin.
|
||||
|
||||
Add install.txt file in assets folder
|
||||
Add installed.txt file in assets folder
|
||||
|
||||
```
|
||||
touch /mnt/docker/flarum/assets/installed.txt
|
||||
chown $UID: /mnt/docker/flarum/assets/installed.txt
|
||||
chown $UID:$GID /mnt/docker/flarum/assets/installed.txt
|
||||
```
|
||||
|
||||
Remove old assets
|
||||
|
|
|
@ -8,6 +8,8 @@ CEND="${CSI}0m"
|
|||
CRED="${CSI}1;31m"
|
||||
CGREEN="${CSI}1;32m"
|
||||
|
||||
cd /flarum/app
|
||||
|
||||
# Composer cache dir and packages list paths
|
||||
CACHE_DIR=/flarum/app/extensions/.cache
|
||||
LIST_FILE=/flarum/app/extensions/list
|
||||
|
|
|
@ -36,6 +36,8 @@ if [ "$LOG_TO_STDOUT" = true ]; then
|
|||
sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php7/php-fpm.conf
|
||||
fi
|
||||
|
||||
cd /flarum/app
|
||||
|
||||
# Custom repositories (eg. for privates extensions)
|
||||
if [ -f '/flarum/app/extensions/composer.repositories.txt' ]; then
|
||||
while read line; do
|
||||
|
|
Loading…
Reference in New Issue