Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add documentation to help users execute fab from command line #89
This has been a complaint with a few alpha users where they can't execute fab commands, i.e. fab command is not in their $PATH
I imagine this will always be something to do with an abnormal python install, so maybe not our problem but could consider adding some help for such users.
maybe by redirecting the
check this if it works for you ?
what do you think about this solution @djgroen ?
I think this is a fix for a different issue.
If you get an
or similar, what do you think?
ok, but what do you mean fab command wasn't installed correctly ? the installation was done correctly but did not added to the PATH, am I right ?
$ find / -type f -name "fab" 2> >(grep -v 'Permission denied' >&2) /usr/bin/fab /home/hamid/.local/bin/fab
does that sound acceptable ?
also, it can be done by
also, the previous suggested solution for
In regards to your first command, perhaps we can wrap that in a simple bash script named
The script could be placed in the home directory.
As for your last remark, I fully agree. It's best if the users cd to the FabSim installation before running fab commands. Anything else will become messy whenever users have multiple FabSim installations.