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

(Deployment and Packaging)
(Steps to install TAE)
Line 4: Line 4:
 
==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
# 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!
+
Also, note that you do not need to copy the <TAEBASE>/taereport directory to machines that only require the TAE Test Execution software.
  
#Use TAE report server: Open browser, and go to <taeserver>:5000
+
===Installing the TAE Report Server===
  
* Next steps:
+
Please install the TAE Test Execution software as described above. 
  
# Read and follow the OpenClovis TAE user/programming guide
+
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
+

Revision as of 16:04, 13 March 2013

Contents

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>.

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.

Installing the TAE Test Execution software

  • Install 3rdparty packages
  1. sudo -i
  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.

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.