...
| Code Block | ||||
|---|---|---|---|---|
| ||||
cd <EPIK8Sfolder/config/iocs>
git pull --recurse-submodules ## to update remote changes
git submodule update --init ## to update eventually new submodules
mkdir mynewioc
cd mynewioc
## here add your new submodule
git submodule add <your repository_URL> scripts # your softioc repository will be added as scripts
git commit -m "your comment Add submodule <submodule_name>"
git push origin <your remote branch i.e main/master> |
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
#!/bin/bash script_dir=$(dirname "$0") cd $script_dir echo "Starting mynewioc$__IOC_NAME__ : $EPICS_CA_ADDR_LIST" python ./scripts/mynewioc <parameters> -c myconfig.json |
...