forked from LaKing/ep_codepad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.sh
14 lines (9 loc) · 768 Bytes
/
dev.sh
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
while true
do
ssh [email protected] "cd /srv/codepad-devel.d250.hu/rootfs/srv/node-project/etherpad-lite/node_modules/ep_codepad/highlight.js && python3 tools/build.py -n && cat /srv/codepad-devel.d250.hu/rootfs/srv/node-project/etherpad-lite/node_modules/ep_codepad/highlight.js/build/highlight.pack.js > /srv/codepad-devel.d250.hu/rootfs/srv/node-project/etherpad-lite/node_modules/ep_codepad/static/js/highlight.codepad.js && chown codepad:codepad /srv/codepad-devel.d250.hu/rootfs/srv/node-project/etherpad-lite/node_modules/ep_codepad/static/js/highlight.codepad.js"
ssh [email protected] "ssh codepad-devel.d250.hu rc"
sleep 2
firefox --private "https://codepad-devel.d250.hu/p/testt.js";
done
# codepad.d250.hu devell script - my client side