dreamfactorysoftware / df-genie

Automated DreamFactory installer
0 stars 0 forks source link

Are we able to modularize some of the code and reuse it within different installer scripts? For instance the df:env code block could probably be reused? #7

Open vadimt-spg opened 5 years ago

vadimt-spg commented 5 years ago

I think that step 5,7 can be reused within different installer scripts. But step 7 need rewrite to use su instead sudo because sudo app not installed in all OS. The su app more POSTFIX

vadimt-spg commented 5 years ago

After wrote the script for Fedora and CentOS I have changed my mind about the previous post. Even for CentOS and Fedora modularize some sections it's hard to do. Don't know about if it makes sense to do that. In my opinion, it better keeps the script for every OS separately