-
Notifications
You must be signed in to change notification settings - Fork 1
Install
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):
-
STOP here. You will have to specify the path to all of the CLdb scripts (e.g. perl ./bin/CLdb_makeDB.pl).
-
Add the script location to your PATH so you can use the scripts in any directory without providing the path to the scripts.
-
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/)