From 95eefcab4391cac7c5347b6ecd503ec9d1cb9d4d Mon Sep 17 00:00:00 2001 From: Danp2 Date: Sat, 30 Dec 2017 09:36:37 -0600 Subject: [PATCH] Update yarn commands --- xo_install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xo_install.sh b/xo_install.sh index c95c368..b0045cf 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -33,11 +33,13 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git /usr/bin/git clone -b $xo_branch $xo_server /usr/bin/git clone -b $xo_branch $xo_web cd $xo_server_dir -/usr/bin/yarn install --force +/usr/bin/yarn +/usr/bin/yarn build sudo cp sample.config.yaml .xo-server.yaml sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-server.yaml cd $xo_web_dir -/usr/bin/yarn install --force +/usr/bin/yarn +/usr/bin/yarn build if [[ ! -e $systemd_service_dir/$xo_service ]] ; then