1
0
Fork 0
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:
nemsia 2018-05-30 13:27:30 +02:00
parent 06b00a399a
commit 08e8238074

View file

@ -141,9 +141,13 @@ sudo su - $app <<MCOMMANDS
pushd ~/live
/opt/mastodon/.rbenv/versions/2.5.1/bin/gem install bundler
bin/bundle install --deployment --without development test
yarn install --production
MCOMMANDS
# Yarn install on root
pushd $final_path/live
yarn install --pure-lockfile
popd
# Adjust Mastodon config
pushd $final_path/live/
sudo cp -a .env.production.sample .env.production