mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Give proper right permission
This commit is contained in:
parent
7a7653e321
commit
e685d4d27a
1 changed files with 3 additions and 1 deletions
|
@ -205,10 +205,12 @@ ynh_replace_string "#SMTP_OPENSSL_VERIFY_MODE=peer" "SMTP_OPENSSL_V
|
||||||
|
|
||||||
# Preconfig CSS & JS
|
# Preconfig CSS & JS
|
||||||
# Install Mastodon
|
# Install Mastodon
|
||||||
|
# Give right permission for the app
|
||||||
|
chown -R "$app": "$final_path"
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$final_path/live"
|
cd "$final_path/live"
|
||||||
su mastodon <<INSTALL
|
su mastodon <<INSTALL
|
||||||
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler:1.16.5
|
|
||||||
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler
|
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler
|
||||||
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
|
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
|
||||||
yarn install --production --no-progress --non-interactive --silent
|
yarn install --production --no-progress --non-interactive --silent
|
||||||
|
|
Loading…
Reference in a new issue