metcarob / docker-executor-python
Python executor for processmaker 4
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/metcarob/docker-executor-python
Requires
- processmaker/processmaker: 4.*
README
Looking at https://github.com/ProcessMaker/docker-executor-java/blob/develop/README.md for inspiration
Command line use
docker run --rm -it
processmaker4/executor-processmaker-python-4:v1.0.0
/bin/bash
echo {} > data.json
echo {} > config.json
echo 'print("Hello World")' > Script.py
./run.sh
cat output.json
#-v :/opt/executor/data.json #
-v :/opt/executor/config.json \
-v :/opt/executor/Script.py \
-v :/opt/executor/output.json \
processmaker4/docker-executor-java \
/opt/executor/run.sh
Get processmaker to generate image
Need to have processmaker running.
php artisan docker-executor-python:install