From 0f2b7e358d13fd59bc6951436de439667d3474a9 Mon Sep 17 00:00:00 2001 From: philc Date: Fri, 1 Nov 2024 09:03:33 +0100 Subject: [PATCH] setup --- apxtri/apxtri.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index b28fee0..ba45c2f 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -165,7 +165,7 @@ apxtri.setup = async () => { process.exit(0); } else { console.log( - `\x1b[42m###################################################################\x1b[0m\n\x1b[42mWellcome into apxtri, you can now 'yarn dev' for dev or 'yarn startpm2' for prod or \n'yarn unittest' for testing purpose. Access to your town here \x1b[0m\x1b[32mhttp://apx.adminapî\x1b[0m \x1b[42m \n\x1b[0m\n\x1b[42m###########################################################################################\x1b[0m` + `\x1b[42m##############################################################################\x1b[0m\n\x1b[42mWellcome into apxtri, you can now 'yarn dev' for dev or 'yarn startapx' for prod \n'Access to your town here \x1b[0m\x1b[32mhttp://adminapx.adminapî\x1b[0m \x1b[42m \n\x1b[0m\n\x1b[42m###########################################################################################\x1b[0m` ); } }); diff --git a/package.json b/package.json index afbcd26..6bf860f 100755 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "scripts": { "startapx": "pm2 start ./apxtri/apxtri.js --log-date-format 'DD-MM HH:mm:ss.SSS'", - "restartapx": "pm2 restart apxtri.js --log-date-format 'DD-MM HH:mm:ss.SSS'", + "restartapx": "pm2 restart ./apxtri/apxtri.js --log-date-format 'DD-MM HH:mm:ss.SSS'", "dev": "NODE_MODE=dev node ./apxtri/apxtri.js", "unittest": "node unittest.js", "apidoc": "apidoc -c ../$tribe/apxtri/apidoc_$tribe.json -o ../$tribe/objects/wwws/apidoc/",