mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Yarn install on root
This commit is contained in:
parent
06b00a399a
commit
08e8238074
1 changed files with 5 additions and 1 deletions
|
@ -141,9 +141,13 @@ sudo su - $app <<MCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
/opt/mastodon/.rbenv/versions/2.5.1/bin/gem install bundler
|
/opt/mastodon/.rbenv/versions/2.5.1/bin/gem install bundler
|
||||||
bin/bundle install --deployment --without development test
|
bin/bundle install --deployment --without development test
|
||||||
yarn install --production
|
|
||||||
MCOMMANDS
|
MCOMMANDS
|
||||||
|
|
||||||
|
# Yarn install on root
|
||||||
|
pushd $final_path/live
|
||||||
|
yarn install --pure-lockfile
|
||||||
|
popd
|
||||||
|
|
||||||
# Adjust Mastodon config
|
# Adjust Mastodon config
|
||||||
pushd $final_path/live/
|
pushd $final_path/live/
|
||||||
sudo cp -a .env.production.sample .env.production
|
sudo cp -a .env.production.sample .env.production
|
||||||
|
|
Loading…
Add table
Reference in a new issue