This is the client part of the Zoe architecture that executes work items on target machines.
It consists of:
- All jobs should be in files named
*.job.py
. This way the version control systems can trigger jobs correctly. - Only one job per file
- Try to keep complexity down as much as possible, increasing maintainability of the overall system
- Try to write the code in a cross-platform matter if simple enough (linux/windows/console)
You can use the run.bat
batch file which will do everything for you :)
git clone http://gitlab/beamng/zoe.git
cd client
python -m venv .venv
call .venv\\Scripts\\activate.bat
pip install -r requirements.txt
to run:
python -m Zoe
Run misc\windows-service\install_runas_admin.bat
with Administrator privileges.
You can use the run.sh
batch file which will do everything for you :)
git clone http://gitlab/beamng/zoe.git
cd client
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
to run:
python3 -m Zoe
# install service (if you want)
cp misc/ZoeClient.service /etc/systemd/system/ZoeClient.service
# !!!
# Now fix your installation path in /etc/systemd/system/ZoeClient.service (/home/testrunner)
# !!!
systemctl start ZoeClient.service
Run the solution in vscode with F5, see .vscode/launch.json
just execute any .job.py file in python:
examples\\01-simple-svn-checkout.job.py