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:
parent
6356a42cbc
commit
f3e16daa41
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue