From 6902bee4fd2954266baf72827670bcead1f7536d Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Tue, 1 May 2018 13:40:46 +0200 Subject: [PATCH] [fix] install --- scripts/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 678ffe0..11a057d 100644 --- a/scripts/install +++ b/scripts/install @@ -122,9 +122,14 @@ cp -a ../conf/config.js $config_path # INSTALL THE LOUNGE #================================================= npm -g install $final_path + +# Install webpack npm -g install webpack +npm -g install webpack-cli + +# Build The Lounge cd $final_path -NODE_ENV=production npm run build index.js +NODE_ENV=production npm run build ln -s $final_path/index.js /usr/bin/thelounge/ #=================================================