update readme

This commit is contained in:
2024-09-13 14:18:45 +02:00
parent 76aa0aa4e4
commit a608f0c224

View File

@@ -1,6 +1,16 @@
# venv for ecmccfg
This dir contains a python venv that is needed for ecmccfg when using yaml files (motion or plc cfgs).
This dir contains a python venv (.venv) that is needed for ecmccfg when using yaml files (motion or plc cfgs).
```
ll -a
total 24
drwxrwsr-x. 4 sandst_a unx-sls_ioc 4096 Sep 13 14:13 .
drwxrwsrwx. 6 anicic unx-sls_ioc 4096 Sep 13 14:16 ..
drwxr-sr-x. 8 sandst_a unx-sls_ioc 4096 Sep 13 14:16 .git
-rwxrwxr-x. 1 sandst_a unx-sls_ioc 337 Sep 13 14:13 pythonVenv.sh
-rw-rw-r--. 1 sandst_a unx-sls_ioc 910 Sep 13 14:13 readme.md
drwxrwsr-x. 6 sandst_a unx-sls_ioc 4096 Sep 13 14:13 .venv
```
## Generate the venv
Use pythonVenv.sh to generate an ecmc venv in current dir (the script is copied from ecmccfg/scripts/jinja2/):
@@ -8,8 +18,7 @@ Use pythonVenv.sh to generate an ecmc venv in current dir (the script is copied
bash pythonVenv.sh -d .
```
The env should then be copied to /ioc/NeedfulThings/ecmc_python_venv/:
Files:
```
[sls-lc8 ioc]$ ls -la /ioc/NeedfulThings/ecmc_python_venv/.venv
total 32