This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
Upgrade from 2.1 to 2.2
rucek edited this page Nov 10, 2014
·
2 revisions
In order to upgrade from Codebrag 2.1 to 2.2 you need to:
- Download and unpack new package
- Copy
data
andrepos
directores and yourcodebrag.conf
file - Run upgrade script
Ping us at ask@codebrag.com if you encounter any issues with the upgrade process. We will do our best to help you.
Note: Commands bellow assume you are on Linux.
Download the new package, unpack (keep the old installation):
wget https://s3-eu-west-1.amazonaws.com/codebrag-dist/v2.2/codebrag-2.2.zip
unzip codebrag.zip
That should create directory codebrag-2.2
.
Stop the old Codebrag:
cd <old codebrag>
./codebrag.sh stop
and copy contents of data and repos directories and your codebrag.conf file to new Codebrag location:
cp -r <old codebrag>/data <old codebrag>/repos codebrag-2.2
cp <old codebrag>/codebrag.conf codebrag-2.2
repos directory should now contain clone of your repository. Please, do not clone additional repositories yet.
Run upgrade script from new Codebrag:
cd ../codebrag-2.2
./upgrade_21_22.sh
Finally, start Codebrag with:
./codebrag.sh start
That's it!
We hope you and your team will enjoy doing code reviews with Codebrag!