$ git clone -b version/2.1 https://github.com/Ensembl/ensembl-hive.git
This will create ensembl-hive directory with all the code and documentation.
You may find it convenient (although it is not necessary) to add "ensembl-hive/scripts"
to your $PATH
variable to make it easier to run beekeeper.pl and other useful Hive scripts.
$ export PATH=$PATH:$ENSEMBL_CVS_ROOT_DIR/ensembl-hive/scripts # # (for best results, append this line to your ~/.bashrc or ~/.bash_profile configuration file)
$ set path = ( $path ${ENSEMBL_CVS_ROOT_DIR}/ensembl-hive/scripts ) # # (for best results, append this line to your ~/.cshrc or ~/.tcshrc configuration file)
Also, if you are developing the code and not just running ready pipelines,
you may find it convenient to add "ensembl-hive/modules" to your $PERL5LIB
variable.
$ export PERL5LIB=${PERL5LIB}:${ENSEMBL_CVS_ROOT_DIR}/ensembl/modules $ export PERL5LIB=${PERL5LIB}:${ENSEMBL_CVS_ROOT_DIR}/ensembl-hive/modules # # (for best results, append these lines to your ~/.bashrc or ~/.bash_profile configuration file)
$ setenv PERL5LIB ${PERL5LIB}:${ENSEMBL_CVS_ROOT_DIR}/ensembl/modules $ setenv PERL5LIB ${PERL5LIB}:${ENSEMBL_CVS_ROOT_DIR}/ensembl-hive/modules # # (for best results, append these lines to your ~/.cshrc or ~/.tcshrc configuration file)