<img src=“https://codeclimate.com/github/mezuro/kalibro_configurations/badges/gpa.svg” />
Kalibro Configurations is a source code analysis configuration web service which is also part of the Mezuro project. It is free software under the AGPLv3 license.
It was strongly based on the vintage Kalibro (github.com/mezuro/kalibro) written in Java mostly by Carlos Morais (carlos88morais at gmail dot com) on his MSc dissertation (in portuguese www.teses.usp.br/teses/disponiveis/45/45134/tde-25092013-142158/en.php)
Please, have a look at the wiki pages about development workflow and code standards:
-
System dependencies (Ubuntu package names)
-
build-essential
-
curl
-
postgresql-server-dev-9.3
NOTE: The version of postgresql may vary accordingly with your system version
-
-
Ruby version
2.2.2
You can easily install it through the Ruby Version Manager - RVM. Instructions on how to do it can be found at rvm.io
NOTE: If you are using the gnome-shell, or any derivative like terminator, you have to mark on your profile the option to use a “login bash”.
-
Configuration
./bin/setup
This will create all the configuration files with defaults for Ubuntu and initialize your database.
-
How to run the test suite
rake
NOTE: For this you will need the Kalibro Gatekeeper service up and running as explained below.
-
Deployment instructions
Deployment is made through Capistrano (github.com/capistrano/capistrano)
cap production deploy
In order to do this, you must have your ssh key set at the target server.
Otherwise, you can also modify the deployment file at
config/deploy.rb
.
-
First Deploy
-
Make sure that the deployment files (
config/deploy.rb
config/deploy/production.rb
are correctly configured to the installation server; -
Also, make sure that the installation server already has rvm installed;
* It should already have the ruby version installed with the gemset created as well
-
Check if everything is OK for deploy:
cap production deploy:check
-
Finally deploy with:
cap production deploy
-
Copyright © 2014-2015 The Authors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <www.gnu.org/licenses/>.
Please see the humans.txt (at the ‘public` folder) file with the authors
The authors have been supported by organizations:
University of São Paulo (USP) FLOSS Competence Center ccsl.ime.usp.br