This is repository for how to use Cliphpy framework.
-
Clone repository to your local dir
cd /to/your/location/ git clone https://github.com/andreas4all/cliphpy-example.git .
-
Init and update Cliphpy submodule
git submodule init git submodule update
-
Run install example script
cd cliphpy ./install.example.sh
-
Run example script
cd ../Example/ ./example.php --child 2
-
Change remote origin to your own
git remote rename origin upstream git remote add origin git@gitserver.example.com:you/repo.git
If log file was created in log directory, then it's all okay. Pid file was created in pid directory, after ending script it will be removed. If you will check this, just comment out the last line in example.php.
Script cannot be runned with same child id at one moment. You get error message, that this child is already running.