141
edits
Ghendricks (talk | contribs) No edit summary |
|||
| Line 7: | Line 7: | ||
testing on virtually anything in the engineering process. | testing on virtually anything in the engineering process. | ||
The following installation instructions assume you are installing the latest version of Testopia, currently version 2. | The following installation instructions assume you are installing the latest version of Testopia, currently version 2.3. | ||
=== Requirements === | === Requirements === | ||
* Bugzilla 3. | * Bugzilla 3.4.3+ | ||
* Perl JSON 2.10 | * Perl JSON 2.10 | ||
* GD-Graph3d 0.63 | * GD-Graph3d 0.63 | ||
| Line 18: | Line 18: | ||
Installation instructions for Bugzilla can be found at http://bugzilla.org | Installation instructions for Bugzilla can be found at http://bugzilla.org | ||
'''IMPORTANT NOTE:''' These instructions assume you have installed Bugzilla according to the Bugzilla instructions (from tarball or cvs). Installations from Debian .deb or from some RPM packages may place Bugzilla files in separate directories in which case, these will not work. | |||
Bugzilla instructions. Installations from Debian .deb or from some RPM packages | |||
may place Bugzilla files in separate directories in which case, these will not | |||
work. | |||
Please make sure that your language of Bugzilla is the same as language of Testopia to be installed on. If you are not sure, just set language of your Bugzilla to English. You can change it any time later. | Please make sure that your language of Bugzilla is the same as language of Testopia to be installed on. If you are not sure, just set language of your Bugzilla to English. You can change it any time later. | ||
| Line 36: | Line 33: | ||
$> tar xzvf testopia-<version>.tar.gz | $> tar xzvf testopia-<version>.tar.gz | ||
Next you need to patch the Bugzilla files. For Bugzilla 3. | Next you need to patch the Bugzilla files. Find the patch file in the extensions/testopia directory matching your version of Bugzilla. | ||
For example, if you are running Bugzilla 3.4.3 you will apply the patch-3.4.3 patch file. | |||
$> patch -p0 -i testopia/patch-3. | $> patch -p0 -i extensions/testopia/patch-3.4.3 | ||
Finally, you need to run checksetup.pl | Finally, you need to run checksetup.pl | ||
| Line 65: | Line 59: | ||
2. You will now make a tarball of the source. If you like to update your | 2. You will now make a tarball of the source. If you like to update your | ||
Bugzilla from CVS, be sure to delete the top level CVS | Bugzilla from CVS, be sure to delete the top level CVS directory first. | ||
$> cd mozilla/webtools/testopia | $> cd mozilla/webtools/testopia | ||
| Line 71: | Line 65: | ||
$> tar cvf /tmp/testopia.tar . | $> tar cvf /tmp/testopia.tar . | ||
Once you have your tarball, follow the instructions above to untar it into your | Once you have your tarball, follow the tarball instructions above to untar it into your Bugzilla directory The last step is to install the Ext libraries: | ||
Bugzilla directory The last step is to | |||
install the Ext libraries: | |||
$> cd path/to/bugzilla/testopia/ | $> cd path/to/bugzilla/testopia/ | ||
$> wget http://extjs.com/deploy/ext- | $> wget http://extjs.com/deploy/ext-3.0.1.zip | ||
$> unzip ext- | $> unzip ext-3.0.1.zip | ||
$> mv ext- | $> mv ext-3.0.1 extjs | ||
Congratulations, you should be able to see the Testopia links at the bottom of | Congratulations, you should be able to see the Testopia links at the bottom of | ||
| Line 160: | Line 152: | ||
=== Upgrading === | === Upgrading === | ||
In general, you will need to follow these steps: | |||
# Reverse the old patch by running the patch command you used to install with -R | |||
# Untar the new files | |||
# Apply the new patch | |||
# Run checksetup.pl | |||
'''Upgrading to latest from CVS:''' | '''Upgrading to latest from CVS:''' | ||
| Line 188: | Line 169: | ||
The script can be modified to checkout a tag or version if you know what you | The script can be modified to checkout a tag or version if you know what you | ||
are doing. | are doing. | ||
maintenance | |||
=== Getting Help === | === Getting Help === | ||
edits