1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

[fix] install

This commit is contained in:
Rafi59 2018-05-01 13:40:46 +02:00 committed by GitHub
parent 805901925f
commit 6902bee4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/
#=================================================