Add note about using an alias for ocw activation
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/7ccd34b8 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/7ccd34b8 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/7ccd34b8 Branch: refs/heads/CLIMATE-451 Commit: 7ccd34b83b16eae26e7ed90cf7cd2c66952f7c59 Parents: ca50fbf Author: cgoodale <[email protected]> Authored: Wed Jun 4 11:43:29 2014 -0700 Committer: cgoodale <[email protected]> Committed: Wed Jun 4 11:43:29 2014 -0700 ---------------------------------------------------------------------- easy-ocw/install-osx.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/7ccd34b8/easy-ocw/install-osx.sh ---------------------------------------------------------------------- diff --git a/easy-ocw/install-osx.sh b/easy-ocw/install-osx.sh index 4b058d7..e9419a9 100755 --- a/easy-ocw/install-osx.sh +++ b/easy-ocw/install-osx.sh @@ -157,3 +157,16 @@ source ~/ocw/bin/activate ~/ocw >> install_log # with pip. header "Installing additional Python packages" pip install -r ocw-pip-dependencies.txt >> install_log + + +if [ $WITH_VIRTUAL_ENV == 1 ]; then + echo "***POST INSTALLATION NOTE*** +To make it easier to change into the 'ocw' virtualenv add the +following alias to your ~/.bash_profile + + alias ocw='source ~/ocw/bin/activate ~/ocw/' + +When you want to use ocw in the future, you just have to type 'ocw' +in your terminal." +fi +
