OCPP-1.6-CP-Simulator icon indicating copy to clipboard operation
OCPP-1.6-CP-Simulator copied to clipboard

Mac book cannot run .bat

Open agadajerry opened this issue 4 years ago • 1 comments

I find it difficult to run .bat files on mac. What could be an approach to bash

agadajerry avatar Jul 22 '22 09:07 agadajerry

Create run.sh with the following #!/bin/bash ./tpp.sh read -p "Enter Endpoint: " endp read -p "Enter Charge Point ID: " cp clear node gir-ocppjs.js start_cp "$endp" "$cp"

Then create a tpp.sh in the same folder #!/bin/bash npm install

make both executable chmod +x install.sh chmod +x run.sh

Now type ./run.sh

and it should run

kingosoul avatar Apr 02 '23 08:04 kingosoul