Since the hms_Gateway and hms_core projects each have their own setup.py file, the packaging and deployment process doesn't need to be any more complicated than doing the following:
- Executing each setup.py to generate the installable package
- Moving those package files to the server that is going to run the Gateway service
- Installing them with the following code:
- pip install HMS-Core-0.1.dev0.tar.gz
- pip install HMS-Gateway-0.1.dev0.tar.gz
- Creating, for new installations, the configuration file at the necessary location
The configuration needed to allow the Gateway daemon to start up automatically on system boot and shutdown with a system shutdown will vary based on the OS of the target machine (more on that in a bit).
If, on the other hand, there is a need for a single package, consolidating the src directories from all of the...