Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Install

nyoungb2 edited this page Jan 11, 2014 · 8 revisions

Basic installation of CLdb.

Clone from github

git clone https://github.com/nyoungb2/CLdb.git

This will make a folder in your current directory: './CLdb/'


You have some options at this point (CHOOSE 1):

  1. STOP here. You will have to specify the path to all of the CLdb scripts (e.g. perl ./bin/CLdb_makeDB.pl).

  2. Add the script location to your PATH so you can use the scripts in any directory without providing the path to the scripts.

  3. Adding the scripts to a directory already in your PATH so you can use the scripts in any directory without providing the path to the scripts.


Option 1: Stopping here

Move on to database setup. Keep in mind that you will have to specify the path to all of the CLdb scripts.

Option 2: Placing scripts in PATH

From the directory where you cloned CLdb:

cd ./bin

echo "export PATH=\$PATH:$(pwd)" >> ~/.profile

Option 3: Adding scripts to directory already in PATH

In you newly cloned directory './CLdb/', type:

./Build.PL
./Build
./Build install –install_base=/FOO/BAR/
	
* change "/FOO/BAR/" to the path of your choosing (directory already in PATH; example: ~/bin/)
Clone this wiki locally