From a608f0c22405f96a5525f8e972c0273165023ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Fri, 13 Sep 2024 14:18:45 +0200 Subject: [PATCH] update readme --- readme.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 58acae8..fb342ec 100644 --- a/readme.md +++ b/readme.md @@ -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