1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flood_ynh.git synced 2024-09-03 18:36:20 +02:00

Fixed install

This commit is contained in:
Unknown 2018-05-15 22:56:02 +02:00
parent 6356a42cbc
commit f3e16daa41

View file

@ -63,6 +63,17 @@ sudo apt-get install -y nodejs
cd /var/www cd /var/www
git clone https://github.com/jfurrow/flood.git git clone https://github.com/jfurrow/flood.git
# Config flood
ynh_replace_string "PATH_URL" "$path_url" ../sources/config.js
sudo cp ../sources/rtorrent.rc flood/
sudo chown -R flood:flood flood/
# Compiling assets for Flood
cd flood/
npm install
npm run build
# Launch flood on boot # Launch flood on boot
cd $current_dir cd $current_dir
sudo cp ../sources/flood.service /etc/systemd/system/flood.service sudo cp ../sources/flood.service /etc/systemd/system/flood.service