keon94 opened a new issue, #5613:
URL: https://github.com/apache/incubator-devlake/issues/5613

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   I suggest we write a generic shell script to install the runtime 
dependencies needed to run the Devlake backend. The script should detect the 
OS/distro and invoke the appropriate package-manager and install the 
dependencies. We'll also call this script from our Dockerfiles. This way we can 
ensure uniformity and consistency across environments, and have a single 
always-up-to-date source of dependencies.
   
   The dependencies to install will roughly follow these items:
   - 
https://github.com/apache/incubator-devlake/blob/067b92f1f9a4b819095fb5efe55361e38dd0d929/backend/Dockerfile#L119
   - 
https://github.com/apache/incubator-devlake/blob/main/backend/python/requirements.txt
   
   Users will just have to invoke this script and that should theoretically 
take care of their dev environment.
   
   I think build tools like Poetry, or language binaries like Go and Python are 
ok to keep out of this script, and expect their separate installation.
   
   ### Description
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to