How to Install OnTrack on Arch Linux
OnTrack is an Open Source Test Management System developed using Java, Spring and AngularJS. In this tutorial, we'll go through the steps to install OnTrack on an Arch Linux system.
Prerequisites
Before we start, please ensure that your system has the following prerequisites:
- Java JDK 1.8 or above
- Node.js 8.0.0 or above
- Git
Step 1: Clone the OnTrack Repository
To clone the OnTrack repository from Github, open a Terminal window and type the following command:
git clone https://github.com/inoda/ontrack.git
This will create a copy of the OnTrack repository in your current directory.
Step 2: Install Node.js Dependencies
Navigate to the OnTrack directory and install the Node.js dependencies using the following commands:
cd ontrack
npm install
Step 3: Build the Front-End
To build the AngularJS front-end, run the following command:
npm run build
This will create a dist folder containing the compiled front-end assets.
Step 4: Build the Back-End
To build the back-end, run the following command:
./gradlew clean build
The above command will clean the previous build and build the project from scratch.
Step 5: Start the OnTrack Server
To start the OnTrack server, run the following command:
java -jar build/libs/ontrack-*.jar
This will start the OnTrack server on port 8080.
Step 6: Access the OnTrack UI
Once the server has started, you can access the OnTrack UI by opening a web browser and navigating to http://localhost:8080/.
Conclusion
In this tutorial, we've gone through the steps to install OnTrack on an Arch Linux system. Now that OnTrack is up and running, you can start using it to manage your testing process.