Giter Site home page Giter Site logo

testrail's Introduction

testrail - A docker image containing version 5.3.0.3603-ion53

A restartable docker image for testrail

Any feedback let me know - its all welcome!

Pre-req

Before running this docker image, please clone / download the repo, inlcuding the script files.

How to use this image

Initialise

Run the following command, replacing *** with your desired db password:

./initial_start.sh '***'

This will setup two containers:

  • testrail-mysql - a container to store your testrail db data
  • testrail - the container containing the testrail server

(optional) Migrating existing testrail servers

Shutdown the existing testrail server instance and backup the following:

  • config.php modified during the install, possibly located in /var/www/html/testrail/config.php
  • Mysqldump the existing testrail db into testrail.sql. An example is below:
    • mysqldump --databases testrail > testrail.sql
  • Attachments and reports folder - usually found in /opt/testrail/attachments and /opt/testrail/reports, please place both folders inside a tar.gz containing the testrail directory. The tar should be structured:
    • attachment-reports.tar.gz¬
      • testrail\
        • attachments\
        • reports\

Copy the files into the following locations, respective to the script file locations:

  • imports/config.php
  • imports/testrail.sql
  • imports/attachment-reports.tar.gz

Once ready, run the following script, replacing *** with your db password:

./migrate_existing_db '***'

(optional) setting up as a service

Once initialised and perhaps migrated, the docker container can then be run as a service. Included in the repo is the service for centos 7 based os's and to install run:

./copy_install_and_start_as_service.sh

testrail's People

Contributors

blofse avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dilook wlovins

testrail's Issues

wrong name for container

docker run -d --name testrail --link testrail-mysql:testrail -p 7070:80 -v TestrailAttachmentsReports:/opt/testrail testrail (need change to blofse/testrail )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.