TestLink is a web-based application to manage manual tests along with the software life cycle. Tests may vary from simple steps to more evolved processes, but each will provide simple steps to follow.
- Docker Engine 18.06.0+
- Linux: Follow all the steps present in the official documentation
- Docker Compose 1.22.0+
- Follow all the steps present in the official documentation
The file .env.example
contains all the environment variables required.
Copy and paste the file .env.example
with the name .env
to make Docker Compose use the environment variables defined in this file:
cp .env.example .env
After that, set up the variables according to specific requirements of each deployment.
docker-compose up --build
It will build the containers and run the platform as specified in the file docker-compose.yml
, opening a log screen with the logs of all the services started.
Once the containers are running, open a web browser and navigate to:
http://localhost:8080
You can log in using the credentials set in the .env
file for TESTLINK_USERNAME
and TESTLINK_PASSWORD
.
If you are still in the log screen, press Ctrl + C
just one time for a graceful stop, or two times to force stop.
To stop all containers created by Docker Compose, go to the folder where docker-compose.yml
is located and run:
docker-compose down
To stop just one container:
docker stop my_container
Restart Docker (useful in critical situations):
sudo service docker restart
Check all containers and their status:
docker container ls
Enter the shell or bash of a particular container:
docker exec -it container_id /bin/bash
Stop all containers:
docker stop $(docker ps -a -q)
Delete all containers:
docker rm -f $(docker ps -a -q)
Delete all volumes:
docker volume rm $(docker volume ls -q)
Delete all container images:
docker rmi -f $(sudo docker images -q)