Difference between revisions of "Doc:latest/taeguide/deppkg"

m (1 revision)
(Installing the TAE Test Execution software)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==Deployment and Packaging==
 
==Deployment and Packaging==
The OpenClovis TAE is provided in the form of a gzipped tar file (.tar.gz).  You can open this file (tar xvfz <filename>) in directory (as "root" user). It will create a directory called openclovis-tae-<version>. The rest of this document will refer to this directory using the symbol <TAEBASE>. This directory should contain following files/directories :
+
The OpenClovis TAE is provided in the form of a gzipped tar file (.tar.gz) or GitHub source repository.  You can open this file (tar xvfz <filename>) in directory (as "root" user), or clone the repository. It will create a directory called TAE. The rest of this document will refer to this directory using the symbol <TAEBASE>.
*README.txt
+
*Python-2.5.2.tgz
+
*setuptools-0.6c9.tar.gz
+
*TG_setup_files.tgz
+
*tae (directory)
+
  
 
==Steps to install TAE==
 
==Steps to install TAE==
  
* Install Python-2.5.2
+
Typically you will want to install the TAE Report Server (web GUI) on a single machine and install the TAE Test Execution software on many machines, for example developer workstations, nightly build servers, etc.
# tar zxvf Python-2.5.2.tgz
+
# cd Python-2.5.2
+
# ./configure
+
# make
+
# make install
+
  
* Install setuptools (required for easy_install used in next step)
+
===Installing the TAE Test Execution software===
  
# tar zxvf setuptools-0.6c9.tar.gz
+
* Install 3rdparty packages
# cd setuptools-0.6c9
+
# sudo -i '''(become root because you will be installing software)'''
# python setup.py install
+
# cd <TAEBASE>/3rdparty
 
+
# make
* Install Turbougear and tae-report server dependent packages
+
 
+
# tar zxvf TG_setup_files.tgz
+
# cd TG_setup_files
+
# easy_install -Hlocalhost *.egg
+
 
+
* Install tae 3rdparty packages
+
 
+
# cd tae/3rdparty/
+
# make install
+
 
+
* Build initial database
+
 
+
# cd taereport
+
# rm devdata.sqlite*
+
# tg-admin sql create
+
 
+
* Run
+
 
+
# iptables -F # Turn off firewall needed on some linux distributions (or you can edit your firewall settings to let TAE through)
+
# python start-taereport.py
+
 
+
* Set up database
+
 
+
#Open browser, and go to <taeserver>:5000/catwalk
+
#Click project->Add project
+
#Status: 1
+
#Description: <anything>
+
#Created: <leave>
+
#Brief: <anything>
+
#Label: <specify the project name that appears throughout the rest of the TAE reports>
+
#anonymous_view: <specify 1 to allow anonymous users>
+
 
+
* All Done!
+
  
#Use TAE report server: Open browser, and go to <taeserver>:5000
+
Also, note that you do not need to copy the <TAEBASE>/taereport directory to machines that only require the TAE Test Execution software.
  
* Next steps:
+
===Installing the TAE Report Server===
  
# Read and follow the OpenClovis TAE user/programming guide
+
Please install the TAE Test Execution software as described above.  Then read the document located at <TAEBASE>/taereport/README.txt for instructions on how to install and configure the Report Server.
# Start running tests and upload them to <taeserver>/<taedirectory>/taereport/import
+

Latest revision as of 16:05, 13 March 2013

Contents

[edit] Deployment and Packaging

The OpenClovis TAE is provided in the form of a gzipped tar file (.tar.gz) or GitHub source repository. You can open this file (tar xvfz <filename>) in directory (as "root" user), or clone the repository. It will create a directory called TAE. The rest of this document will refer to this directory using the symbol <TAEBASE>.

[edit] Steps to install TAE

Typically you will want to install the TAE Report Server (web GUI) on a single machine and install the TAE Test Execution software on many machines, for example developer workstations, nightly build servers, etc.

[edit] Installing the TAE Test Execution software

  • Install 3rdparty packages
  1. sudo -i (become root because you will be installing software)
  2. cd <TAEBASE>/3rdparty
  3. make

Also, note that you do not need to copy the <TAEBASE>/taereport directory to machines that only require the TAE Test Execution software.

[edit] Installing the TAE Report Server

Please install the TAE Test Execution software as described above. Then read the document located at <TAEBASE>/taereport/README.txt for instructions on how to install and configure the Report Server.