This little project aimed to make the setup of TestLink a breeze - but did not succeed. It uses Docker Compose to set up the application and database.
Make sure you have Docker installed and it is working.
Before launching the containers you may want to change the root password and user credentials in docker-compose.yml. Please make sure to use the right credentials in the later step when setting up the database configuration in the TestLink installation.
First we have to bring up the containers calling
docker-compose upOnce all containers are up, go to localhost:5001 to start the installation workflow.
- Click on "New Installation"
- Read through the license and check "I agree to the terms set out in this license."
- Click "Continue"
- Scroll to the bottom of the "Verification of System and configuration requirements" and click "Continue"
- Change the database host to match the
docker-compose.yml. By default the database host isdb:3306. - Provide the root credentials for the database admin login and password. By default this is
rootfor database admin login andtestfor database admin password. - Set the TestLink DB login and password. Make sure to remember the credentials to complete the installation later on.
- Click on "Process TestLink Setup!"
The installation via the guide is now complete.
We now need to enable the connection to the database. Go to http://localhost:8080 to launch the Adminer.
- Use
rootfor the Username - Enter the root password as configured in
docker-compose.yml. By default this istest. - Enter
testlinkas Database - Click on "Login"
- Click on "Priviledges"
- Click on "Create user"
- Enter the username and password that you provided in step 7. to setup TestLink DB.
- Check the options SELECT, INSERT, UPDATE, and DELETE for Table.
- Click "Save"
Alternatively one can also execute the following SQL command directly to skip steps 5-9:
CREATE USER '<username>'@'%' IDENTIFIED BY '<password>';
GRANT DELETE, INSERT, SELECT, UPDATE ON `testlink`.* TO 'testlink'@'%'where <username> and <password> are the credentials provided in step 7. to setup the TestLink DB that need to be replaced.
Follow the instructions given by TestLink