start nginx for testing

This commit is contained in:
Dragan Filipovic 2022-12-30 14:29:31 +01:00
parent f7c067b07e
commit 692d3fee7d
6 changed files with 733 additions and 173 deletions

View file

@ -3,7 +3,8 @@ const { get: nodeCmd } = require('node-cmd');
const validateRsync = (callback = () => {}) => {
const rsyncCli = commandExists('rsync');
console.log('⚠️ [CLI] Rsync doesn\'t exists. Start installation with "apt-get" \n');
console.log('nodeCmd: ', nodeCmd);
if (!rsyncCli) {
nodeCmd(
'sudo apt-get --no-install-recommends install rsync',