Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Oct 4, 2024
1 parent 3b7d2bd commit 9e343d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uploaddev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ STUFF="src www presets fonts ledder package.json displayconf.js"
#find $STUFF|entr -s "npm run build; rsync -avx $STUFF root@$IP:ledder && ssh root@$IP 'pkill node ;cd ledder && node js/server.js'"
#npm run build
#find $STUFF| entr -r -s "rsync -avx . root@$IP:ledder && ssh root@$IP 'pkill node; tmux new -d \"cd /root/ledder; node src/js/server/server.js\" '"
find $STUFF| entr -r -s "rsync -avx $STUFF root@$IP:ledder && ssh root@$IP 'pkill loop;pkill node; cd /root/ledder; NODE_ENV=production node ledder/server/server.js'"
find $STUFF| entr -r -s "rsync -avx --exclude index.json $STUFF root@$IP:ledder && ssh root@$IP 'pkill loop;pkill node; cd /root/ledder; NODE_ENV=production node ledder/server/server.js'"
2 changes: 1 addition & 1 deletion uploadprod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ STUFF="images src www presets fonts ledder package.json"

#rsync -avx $STUFF root@$IP:ledder ||exit 1
#ssh root@$IP 'pkill node ;cd ledder && npm run production'
find $STUFF| entr -r -s "rsync -avx $STUFF root@$IP:ledder && ssh root@$IP 'pkill loop; pkill node; cd /root/ledder; NODE_ENV=production node ledder/server/server.js'"
find $STUFF| entr -r -s "rsync -avx --exclude index.json $STUFF root@$IP:ledder && ssh root@$IP 'pkill loop; pkill node; cd /root/ledder; NODE_ENV=production node ledder/server/server.js'"

0 comments on commit 9e343d7

Please sign in to comment.