HOW TO - Testlink installation on OSX.

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

HOW TO - Testlink installation on OSX.

Postby dnozay » Tue Sep 10, 2013 8:00 pm

Note: YMMV

1. Get the code

Code: Select all
cd /Users/damien/Work/
# git clone http://git.gitorious.org/testlink-ga/testlink-code.git
# ... I may have custom changes so I use my fork
git clone https://github.com/dnozay/testlink-code.git


2. allow write access to _www user

Code: Select all
touch config_db.inc.php
chmod a+w gui/templates_c/ logs/ upload_area/ config_db.inc.php


3. create a custom_config.inc.php

Code: Select all
cp custom_config.inc.php.example custom_config.inc.php
sed -i -e '/?>/c \
$tlCfg->log_path = '\''/Users/damien/Work/testlink-code/logs/'\''; /* unix example */\
$tlCfg->attachments->repository->path = '\''/Users/damien/Work/testlink-code/upload_area/'\'';  /* unix example */\
?>' custom_config.inc.php


4. edit /etc/apache2/httpd.conf as necessary

Code: Select all
LoadModule php5_module libexec/apache2/libphp5.so


5. create the correct link in /Library/WebServer and restart apache

Code: Select all
sudo ln -s /Users/damien/Work/testlink-code /Library/WebServer/Documents
sudo apachectl restart


6. go to http://localhost/testlink-code/install/ and proceed with the instructions.
please note that you need to use 127.0.0.1 instead of localhost for the DB configuration:
http://stackoverflow.com/questions/1213 ... cket-error

7. edit custom_config.inc.php for your correct SMTP settings
dnozay
TestLink user
 
Posts: 2
Joined: Tue Sep 10, 2013 5:42 am

Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 2 guests