SwitchEV / iso15118

Implementation of the ISO 15118 Communication Protocol (-2, -20, -8)
Apache License 2.0
147 stars 82 forks source link

Help with first steps, problem running the code. #416

Open CarlosZelayeta opened 1 month ago

CarlosZelayeta commented 1 month ago

Hi. I cloned the repository and followed the instructions to install with Docker. I have a problem when running make run, I get the following message:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
ERROR: Couldn't find env file: /home/calu/ThirdPartyRepos/iso15118/.env
make: *** [Makefile:70: run] Error 1

It is my understanding that this should not happen, because I installed everything with Docker:

Note that if Docker is used, the command make run will try to get the .env file. The command make dev will fetch the contents of .env.dev.docker - thus, in this case, the user does not need to create a .env file, as Docker will automatically fetch the .env.dev.docker one.

Maybe the make devcommand is the problem. When running make dev the last line of the console output is: iso15118_evcc_1 exited with code 0 Is this correct? Is this the expected output? The execution of the command stops. Terminating the command with ctrl+c outputs

Gracefully stopping... (press Ctrl+C again to force)
Stopping iso15118_secc_1   ... done
Stopping iso15118_redis_1  ... done

Using Docker desktop I see the same thing, secc_1 and redis_1 running and evcc_1 exited.

Is this the expeected behaviour? If it is, I would appreciate some help to understand how to use this project. My goal is to understand how the communication between EV and EVSE according to ISO 15188