diff --git a/cronicle/install-cronicle-edge.sh b/cronicle/install-cronicle-edge.sh index cf5483f..5dba91c 100644 --- a/cronicle/install-cronicle-edge.sh +++ b/cronicle/install-cronicle-edge.sh @@ -11,10 +11,14 @@ rm -rf /root/cronicle-edge rm -rf /lib/systemd/system/cronicle.service rm -rf /lib/systemd/system/cronicle-edge.service +# install nodejs and npm +apt update && apt upgrade +apt install -y nodejs npm + # install cronicle edge git clone https://github.com/cronicle-edge/cronicle-edge.git cd cronicle-edge -/root/cronicle-edge/bundle-full.sh /opt/cronicle-edge +/root/cronicle-edge/bundle /opt/cronicle-edge echo "s6eUGayCQvscEXxepxR8uvMq3lIdBZ5H" > /opt/cronicle-edge/conf/secret_key # create service file