CODEBRAG
Codebrag is a code review tools. In this post, we will learn how to install Codebrag on ubuntu.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Codebrag is a code review tools. In this post, we will learn how to install Codebrag on ubuntu.
Prerequisite
- Java 7
- Git
Install Codebrag
Download and unzip Codebrag
wget http://codebrag.com/latest/codebrag.zip
unzip codebrag.zip
Clone Repository
cd codebrag-2.3/repos
git clone <your repository url>
Edit Configuration
Open codebrag-2.3/codebrag.conf file.
Repository Configuration
In codebrag-2.3/codebrag.conf file, find the repository block and replace repository, username, password, passphrase to your git repository, username, password, and secret_passphrase in case you do not have a secret_passphrase leave it blank.repository {
username = "your_git_username"
password = "your_git_password"
passphrase = ""
}
Email Configuration
In codebrag-2.3/codebrag.conf file, find the email block and replace smtp-username, smtp-password, and from to your_gmail_username, your_gmail_password, and your_gmail_username and add STARTTLS = true
email {
smtp-host = "smtp-gmail.com"
smtp-pot = "465"
smtp-username = "xyz@gmail.com"
smtp-password = "xyz@123"
from = "xyz@gmail.com"
encoding = "UTF-8"
ssl-connection = true
varify-ssl-certificate = false
STARTTLS = true
}
Here xyz@gmail.com is your email (Gmail) address and xyz@123 is your Gmail password.
You may need to enable less secure apps setting of your google account.
You may need to enable less secure apps setting of your google account.
Start Codebrag
Open terminal and type following command
cd codebrag-2.3/
./codebrag.sh start
similarly, you can restart Codebrag by ./codebrag.sh restart, stop by ./codebrag.sh stop and check the status by ./codebrag.sh status. Open your favorite browser and go to URL localhost:8080. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Comments
Post a Comment