crasbe / ZombieBuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZombieBuild

Setting up Docker on Windows

Setting up Docker on Linux/Unix/MacOSX

Setting up the Container

The "setupContainer" script initiates the setup process and creates a Docker image, from which the Docker container is built.

For Windows, the "setupContainer.bat" batch file should be used while for Linux/Unix/MacOSX the "setupContainer.sh" file should be used.

Running the Container

The "setupContainer" script already starts the container, however after rebooting your host, the container has to be restarted. This can be done in the Docker Desktop Application or with the "startContainer.bat" batch script in Windows or "startContainer.sh" for Linux/Unix/MacOSX.

Compiling the ZombieVerter/BMS Code

The setup script initially pulls the GitHub repositories of the ZombieVerter and Tesla Model 3 BMS projects. The code is located in the "code" subfolder, which is bind mounted to the "/app" folder in the Docker container.

For compiling on a Windows host, the "compileZombie-VCU.bat" and "compileZombie-M3BMS.bat" can be used for the ZombieVerter and M3BMS project. For Linux/Unix/MacOSX, the "compileZombie-VCU.sh" and "compileZombie-M3BMS.bat" files should be used.

The source code itself can be editied with your favourite IDE or editor. The source control is done with git inside of the respective directories in the "code" subfolder.

See also

ZombieVerter Project: https://github.com/damienmaguire/Stm32-vcu

Tesla Model 3 BMS Project: https://github.com/damienmaguire/tesla-Model-3-Battery-BMS

About

License:GNU General Public License v3.0


Languages

Language:Batchfile 62.9%Language:Dockerfile 20.7%Language:Shell 16.4%