How to build locally ?
Clone the project
git clone https://github.com/hellstein/codegen-unixsocketcs.git
Install dependencies
python3pip3
Create python package for testing
cd codegen-unixsocketcs
make update
- We use the PyPI repo for development, you can check
Makefileto see the build and test process. - If you need knowledge how the python package works, please do read Packaging Python Projects.
- The python package has been built and uploaded into pypi.org.
Generate unix socket applcation
make test
- The application
appis generated according totestconfig.json. - The cli commands and handler functions are defined in
testconfig.json.
Test the application
Start server in one terminal
cd app python3 app_server.pyStart client in another terminal
cd app python3 app_client.py [cmd]cmdis the cli command defined intestconfig.json.- You also can check by
python3 app_client.py -h.