Closed innovateworld closed 9 years ago
@innovateworld : Thanks for the correction, I'll ask for martin suggestion about this.
@martinhbramwell : how do You think about this? :D
Yes, this is excellent help. There are a lot of ways a user might execute a bash script, and best practice techniques to catch edge cases. I certainly fell short in those two instances -- at least :-(
@innovateworld : Thank you so much for catching those. Your fixes are exactly right.
Ok then, I'll merge this now. Because honestly I don't understand much about this. Too much work right now, no time to study >.<
Updated .sh file source paths
When I would run
sh devRun.sh
in terminal, I would get the following errorChanging
source utilsJson.sh
tosource ./utilsJson.sh
fixed the issue.Added updateMongoUrl function
When I would run
sh devrun.sh
in terminal, I would get the following errorSo I added a function that would only set
MONGO_URL
ifDEVELOPMENT_MONGO_SERVER
was not equal tonull