HeuristNetwork / heurist

Core development repository. gitHub: Vsn 6 (2020 - ), Vsn 5 (2018 - 2020), Vsn 4 (2014-2017). Sourceforge: Vsn 3 (2009-2013), Vsn 1 & 2 (2005-2009)
http://HeuristNetwork.org
GNU General Public License v3.0
55 stars 25 forks source link

Feature/allow allow any install folder #154

Closed wiztigers closed 1 year ago

wiztigers commented 1 year ago

This pull request fixes the following issues:

These modifications of scripts install_heurist.sh and update_heurist.sh seem to work perfectly.
I didn't unit test these, 'cause it's always hard to test bash scripts stuffed with syscalls :cry:
Thus, given the critical nature of these two files, I suggest fully testing these modifications on your side. Don't trust me too much!

However, the current pull request does not allow running Heurist from any folder yet.
There seems to be more hard-coded /var/www elsewhere, or other direct or indirect assumptions about this installation path, in the codebase. I'll probably adress this later.

(This pull request stems from issues huma-num/heurist#1 and huma-num/heurist#2)

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information